X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Flinuxapp%2Figb_uio%2Figb_uio.c;h=4774c7f774608d3f51a0f753b55c5e81b904dca9;hb=b6df9fc8715f9a925136006b18fdd65f9c621757;hp=51dd153bac25700721a83e532584e8f0daeff8fc;hpb=fb98e84fc1ad71996903ef573d3bd02083762520;p=dpdk.git diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c index 51dd153bac..4774c7f774 100644 --- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c +++ b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c @@ -1,7 +1,7 @@ /*- * GPL LICENSE SUMMARY * - * Copyright(c) 2010-2012 Intel Corporation. All rights reserved. + * Copyright(c) 2010-2013 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of version 2 of the GNU General Public License as @@ -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;