[PATCH] extern in i2o_pci.c

Maciej Soltysiak (solt@dns.toxicfilms.tv)
Mon, 24 Feb 2003 19:36:24 +0100 (CET)


Hi,

there's a following warning in 2.5.62-bk7:

drivers/message/i2o/i2o_pci.c: In function `i2o_pci_core_attach':
drivers/message/i2o/i2o_pci.c:373: warning: implicit declaration of
function `i2o_sys_init'

The following patch covers the extern.

--- linux-2.5.60/drivers/message/i2o/i2o_pci.c~ 2003-02-24 19:31:41.000000000 +0100
+++ linux-2.5.60/drivers/message/i2o/i2o_pci.c 2003-02-24 19:30:04.000000000 +0100
@@ -37,6 +37,7 @@
#endif // CONFIG_MTRR

static int dpt;
+extern void i2o_sys_init(void);

/**
* i2o_pci_dispose - Free bus specific resources
-
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/