lkml.org 
[lkml]   [2006]   [Jul]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSun, 9 Jul 2006 11:03:29 +0200
FromAdrian Bunk <>
Subject[2.6 patch] proper prototype for drivers/message/i2o/device.c:i2o_parm_issue()
This patch adds a proper prototype for i2o_parm_issue() in core.h.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
This patch was already sent on:
- 26 Jun 2006

 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-09 09:07    [from the cache]
©2003-2008