aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-06-24 01:02:26 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 03:05:29 -0400
commitf52bdbe9fcf2453d402376e22de1eca6dfc96890 (patch)
tree171ae59f656e5791d1b68bf34081fea8a3af1dca /drivers/message
parent718c31831aa134a97f6fef215c208cea80a8b480 (diff)
[PATCH] i2o build fix
LD .tmp_vmlinux1 drivers/built-in.o: In function `i2o_cfg_parms': config-osm.c:(.text+0x12764a): undefined reference to `i2o_parm_issue' Cc: Markus Lidel <Markus.Lidel@shadowconnect.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/message')
-rw-r--r--drivers/message/i2o/core.h3
-rw-r--r--drivers/message/i2o/device.c2
-rw-r--r--drivers/message/i2o/i2o_config.c4
3 files changed, 6 insertions, 3 deletions
diff --git a/drivers/message/i2o/core.h b/drivers/message/i2o/core.h
index 49851cccc48d..c5bcfd70f711 100644
--- a/drivers/message/i2o/core.h
+++ b/drivers/message/i2o/core.h
@@ -46,6 +46,9 @@ extern void i2o_iop_free(struct i2o_controller *);
46extern int i2o_iop_add(struct i2o_controller *); 46extern int i2o_iop_add(struct i2o_controller *);
47extern void i2o_iop_remove(struct i2o_controller *); 47extern void i2o_iop_remove(struct i2o_controller *);
48 48
49/* config */
50extern int i2o_parm_issue(struct i2o_device *, int, void *, int, void *, int);
51
49/* control registers relative to c->base */ 52/* control registers relative to c->base */
50#define I2O_IRQ_STATUS 0x30 53#define I2O_IRQ_STATUS 0x30
51#define I2O_IRQ_MASK 0x34 54#define I2O_IRQ_MASK 0x34
diff --git a/drivers/message/i2o/device.c b/drivers/message/i2o/device.c
index d8d6e89a91cc..21f16ba3ac38 100644
--- a/drivers/message/i2o/device.c
+++ b/drivers/message/i2o/device.c
@@ -443,7 +443,7 @@ static struct class_interface i2o_device_class_interface = {
443 * Note that the minimum sized reslist is 8 bytes and contains 443 * Note that the minimum sized reslist is 8 bytes and contains
444 * ResultCount, ErrorInfoSize, BlockStatus and BlockSize. 444 * ResultCount, ErrorInfoSize, BlockStatus and BlockSize.
445 */ 445 */
446static int i2o_parm_issue(struct i2o_device *i2o_dev, int cmd, void *oplist, 446int i2o_parm_issue(struct i2o_device *i2o_dev, int cmd, void *oplist,
447 int oplen, void *reslist, int reslen) 447 int oplen, void *reslist, int reslen)
448{ 448{
449 struct i2o_message __iomem *msg; 449 struct i2o_message __iomem *msg;
diff --git a/drivers/message/i2o/i2o_config.c b/drivers/message/i2o/i2o_config.c
index 8ebc86ff1002..3c3a7abebb1b 100644
--- a/drivers/message/i2o/i2o_config.c
+++ b/drivers/message/i2o/i2o_config.c
@@ -36,9 +36,9 @@
36 36
37#include <asm/uaccess.h> 37#include <asm/uaccess.h>
38 38
39#define SG_TABLESIZE 30 39#include "core.h"
40 40
41extern int i2o_parm_issue(struct i2o_device *, int, void *, int, void *, int); 41#define SG_TABLESIZE 30
42 42
43static int i2o_cfg_ioctl(struct inode *inode, struct file *fp, unsigned int cmd, 43static int i2o_cfg_ioctl(struct inode *inode, struct file *fp, unsigned int cmd,
44 unsigned long arg); 44 unsigned long arg);