提交 e62c23c7 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

[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: NAdrian Bunk <bunk@stusta.de>
Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 c59923a1
...@@ -38,6 +38,9 @@ extern struct device_attribute i2o_device_attrs[]; ...@@ -38,6 +38,9 @@ extern struct device_attribute i2o_device_attrs[];
extern void i2o_device_remove(struct i2o_device *); extern void i2o_device_remove(struct i2o_device *);
extern int i2o_device_parse_lct(struct i2o_controller *); extern int i2o_device_parse_lct(struct i2o_controller *);
int i2o_parm_issue(struct i2o_device *i2o_dev, int cmd, void *oplist,
int oplen, void *reslist, int reslen);
/* IOP */ /* IOP */
extern struct i2o_controller *i2o_iop_alloc(void); extern struct i2o_controller *i2o_iop_alloc(void);
......
...@@ -36,9 +36,9 @@ ...@@ -36,9 +36,9 @@
#include <asm/uaccess.h> #include <asm/uaccess.h>
#define SG_TABLESIZE 30 #include "core.h"
extern int i2o_parm_issue(struct i2o_device *, int, void *, int, void *, int); #define SG_TABLESIZE 30
static int i2o_cfg_ioctl(struct inode *, struct file *, unsigned int, static int i2o_cfg_ioctl(struct inode *, struct file *, unsigned int,
unsigned long); unsigned long);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册