[PATCH] extern in i2o_pci.c

From: Maciej Soltysiak (solt@dns.toxicfilms.tv)
Date: Mon Feb 24 2003 - 13:36:24 EST


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/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:20 EST