Messages in this thread Patch in this message | | | Date | Mon, 30 May 2005 21:50:37 +0200 | From | Adrian Bunk <> | Subject | [-mm patch] drivers/message/i2o/device.c: i2o_parm_issue has to be global |
| |
On Wed, May 25, 2005 at 01:49:33PM -0700, Andrew Morton wrote: >... > Changes since 2.6.12-rc4-mm2: >... > +i2o-first-code-cleanup-of-spare-warnings-and-unused.patch >... > i2o driver updates >...
This patch makes i2o_parm_issue static resulting in the following compile error in the static case (the modular case doesn't give a compile error, but EXPORT_SYMBOL'ing a static functions is equally wrong):
<-- snip -->
... LD .tmp_vmlinux1 drivers/built-in.o(.text+0x691d55): In function `i2o_cfg_parms': : undefined reference to `i2o_parm_issue' make: *** [.tmp_vmlinux1] Error 1
<-- snip -->
This patch turns i2o_parm_issue back into a global function.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.12-rc5-mm1-full/drivers/message/i2o/device.c.old 2005-05-30 21:17:10.000000000 +0200 +++ linux-2.6.12-rc5-mm1-full/drivers/message/i2o/device.c 2005-05-30 21:17:21.000000000 +0200 @@ -443,8 +443,8 @@ * Note that the minimum sized reslist is 8 bytes and contains * ResultCount, ErrorInfoSize, BlockStatus and BlockSize. */ -static int i2o_parm_issue(struct i2o_device *i2o_dev, int cmd, void *oplist, - int oplen, void *reslist, int reslen) +int i2o_parm_issue(struct i2o_device *i2o_dev, int cmd, void *oplist, + int oplen, void *reslist, int reslen) { struct i2o_message __iomem *msg; u32 m; - 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/
| |