]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/ioc3-eth.c
applicom: Fix an unchecked user ioctl range and an error return
[linux-2.6-omap-h63xx.git] / drivers / net / ioc3-eth.c
index 373f72cdbe8e4d12922d3e41984d876e8006942c..1f25263dc7ebb8f90066d7388bbd297bd8d82b26 100644 (file)
@@ -1221,7 +1221,8 @@ static void __devinit ioc3_serial_probe(struct pci_dev *pdev, struct ioc3 *ioc3)
 }
 #endif
 
-static int ioc3_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
+static int __devinit ioc3_probe(struct pci_dev *pdev,
+       const struct pci_device_id *ent)
 {
        unsigned int sw_physid1, sw_physid2;
        struct net_device *dev = NULL;