Skip to content

Commit f52bdbe

Browse files
Andrew MortonLinus Torvalds
authored andcommitted
[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>
1 parent 718c318 commit f52bdbe

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎drivers/message/i2o/core.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ extern void i2o_iop_free(struct i2o_controller *);
4646
extern int i2o_iop_add(struct i2o_controller *);
4747
extern void i2o_iop_remove(struct i2o_controller *);
4848

49+
/* config */
50+
extern int i2o_parm_issue(struct i2o_device *, int, void *, int, void *, int);
51+
4952
/* control registers relative to c->base */
5053
#define I2O_IRQ_STATUS 0x30
5154
#define I2O_IRQ_MASK 0x34

‎drivers/message/i2o/device.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ static struct class_interface i2o_device_class_interface = {
443443
* Note that the minimum sized reslist is 8 bytes and contains
444444
* ResultCount, ErrorInfoSize, BlockStatus and BlockSize.
445445
*/
446-
static int i2o_parm_issue(struct i2o_device *i2o_dev, int cmd, void *oplist,
446+
int i2o_parm_issue(struct i2o_device *i2o_dev, int cmd, void *oplist,
447447
int oplen, void *reslist, int reslen)
448448
{
449449
struct i2o_message __iomem *msg;

‎drivers/message/i2o/i2o_config.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636

3737
#include <asm/uaccess.h>
3838

39-
#define SG_TABLESIZE 30
39+
#include "core.h"
4040

41-
extern int i2o_parm_issue(struct i2o_device *, int, void *, int, void *, int);
41+
#define SG_TABLESIZE 30
4242

4343
static int i2o_cfg_ioctl(struct inode *inode, struct file *fp, unsigned int cmd,
4444
unsigned long arg);

0 commit comments

Comments
 (0)