[2.6 patch] proper prototype for drivers/message/i2o/device.c:i2o_parm_issue()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch adds a proper protorype for i2o_parm_issue() in core.h.

Signed-off-by: Adrian Bunk <[email protected]>

---

 drivers/message/i2o/core.h       |    3 +++
 drivers/message/i2o/i2o_config.c |    4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

--- linux-2.6.17-mm2-full/drivers/message/i2o/core.h.old	2006-06-26 23:16:01.000000000 +0200
+++ linux-2.6.17-mm2-full/drivers/message/i2o/core.h	2006-06-26 23:16:39.000000000 +0200
@@ -38,6 +38,9 @@
 extern void i2o_device_remove(struct i2o_device *);
 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 */
 extern struct i2o_controller *i2o_iop_alloc(void);
 
--- linux-2.6.17-mm2-full/drivers/message/i2o/i2o_config.c.old	2006-06-26 23:16:54.000000000 +0200
+++ linux-2.6.17-mm2-full/drivers/message/i2o/i2o_config.c	2006-06-26 23:23:25.000000000 +0200
@@ -36,9 +36,9 @@
 
 #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,
 			 unsigned long);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux