Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Adrian Bunk and committed by
Linus Torvalds
e62c23c7 c59923a1

+5 -2
+3
drivers/message/i2o/core.h
··· 38 38 extern void i2o_device_remove(struct i2o_device *); 39 39 extern int i2o_device_parse_lct(struct i2o_controller *); 40 40 41 + int i2o_parm_issue(struct i2o_device *i2o_dev, int cmd, void *oplist, 42 + int oplen, void *reslist, int reslen); 43 + 41 44 /* IOP */ 42 45 extern struct i2o_controller *i2o_iop_alloc(void); 43 46
+2 -2
drivers/message/i2o/i2o_config.c
··· 36 36 37 37 #include <asm/uaccess.h> 38 38 39 - #define SG_TABLESIZE 30 39 + #include "core.h" 40 40 41 - extern int i2o_parm_issue(struct i2o_device *, int, void *, int, void *, int); 41 + #define SG_TABLESIZE 30 42 42 43 43 static int i2o_cfg_ioctl(struct inode *, struct file *, unsigned int, 44 44 unsigned long);