igb_uio: fix build with kernel >= 3.8
__devinit has been removed in linux commit 54b956b903 ("Remove __dev* markings from init.h", 3.8-rc4). Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Acked-by: Ivan Boule <ivan.boule@6wind.com> Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
parent
c872db9ea5
commit
f454d1a9c9
@ -284,7 +284,11 @@ igbuio_pci_release_iomem(struct uio_info *info)
|
||||
}
|
||||
}
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
|
||||
static int __devinit
|
||||
#else
|
||||
static int
|
||||
#endif
|
||||
igbuio_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
|
||||
{
|
||||
struct rte_uio_pci_dev *udev;
|
||||
|
Loading…
Reference in New Issue
Block a user