patch-2.3.10 linux/drivers/net/hp100.c
Next file: linux/drivers/net/hplance.c
Previous file: linux/drivers/net/hp.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Tue Jul 6 19:05:50 1999
- Orig file:
v2.3.9/linux/drivers/net/hp100.c
- Orig date:
Mon Jan 11 10:55:29 1999
diff -u --recursive --new-file v2.3.9/linux/drivers/net/hp100.c linux/drivers/net/hp100.c
@@ -106,6 +106,7 @@
#include <linux/types.h>
#include <linux/config.h> /* for CONFIG_PCI */
#include <linux/delay.h>
+#include <linux/init.h>
#if LINUX_VERSION_CODE >= 0x020100
#define LINUX_2_1
@@ -347,7 +348,7 @@
* since this could cause problems when the card is not installed.
*/
-__initfunc(int hp100_probe( struct device *dev ))
+int __init hp100_probe( struct device *dev )
{
int base_addr = dev ? dev -> base_addr : 0;
int ioaddr = 0;
@@ -524,9 +525,9 @@
#ifdef LINUX_2_1
-__initfunc(static int hp100_probe1( struct device *dev, int ioaddr, u_char bus, struct pci_dev *pci_dev ))
+static int __init hp100_probe1( struct device *dev, int ioaddr, u_char bus, struct pci_dev *pci_dev )
#else
-__initfunc(static int hp100_probe1( struct device *dev, int ioaddr, u_char bus, u_char pci_bus, u_char pci_device_fn ))
+static int __init hp100_probe1( struct device *dev, int ioaddr, u_char bus, u_char pci_bus, u_char pci_device_fn )
#endif
{
int i;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)