Skip to content

Commit e62c23c

Browse files
AdrianBunkLinus Torvalds
authored andcommitted
[PATCH] proper prototype for drivers/message/i2o/device.c:i2o_parm_issue()
Add a proper prototype for i2o_parm_issue() in core.h. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Markus Lidel <Markus.Lidel@shadowconnect.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent c59923a commit e62c23c

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎drivers/message/i2o/core.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ extern struct device_attribute i2o_device_attrs[];
3838
extern void i2o_device_remove(struct i2o_device *);
3939
extern int i2o_device_parse_lct(struct i2o_controller *);
4040

41+
int i2o_parm_issue(struct i2o_device *i2o_dev, int cmd, void *oplist,
42+
int oplen, void *reslist, int reslen);
43+
4144
/* IOP */
4245
extern struct i2o_controller *i2o_iop_alloc(void);
4346

‎drivers/message/i2o/i2o_config.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636

3737
#include <asm/uaccess.h>
3838

39-
#define SG_TABLESIZE 30
39+
#include "core.h"
4040

41-
extern int i2o_parm_issue(struct i2o_device *, int, void *, int, void *, int);
41+
#define SG_TABLESIZE 30
4242

4343
static int i2o_cfg_ioctl(struct inode *, struct file *, unsigned int,
4444
unsigned long);

0 commit comments

Comments
 (0)