From: Frank Mori Hess Date: Thu, 3 Mar 2005 23:08:59 +0000 (+0000) Subject: patch from Ian Abbott : X-Git-Tag: r0_7_70~28 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6ca694dc4b15fce2e949d6cd911573af92eebc49;p=comedi.git patch from Ian Abbott : adds two more compatibility definitions for 'pci_dev_get()' and 'pci_get_device()' --- diff --git a/include/linux/pci.h b/include/linux/pci.h index 828a0469..e295c534 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -183,7 +183,9 @@ static inline unsigned long pci_resource_len (struct pci_dev *dev, int n_base) #endif // 2.2.18 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) +#define pci_get_device pci_find_device #define pci_get_subsys pci_find_subsys +#define pci_dev_get(x) (x) #define pci_dev_put(x) #endif