From: Frank Mori Hess Date: Fri, 3 May 2002 02:52:05 +0000 (+0000) Subject: added pci_set_master() compatibility X-Git-Tag: r0_7_65~66 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6afb514f84fc557153746a2605ed60fdf7f72b28;p=comedi.git added pci_set_master() compatibility --- diff --git a/include/linux/pci.h b/include/linux/pci.h index b3943d34..8ba57804 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -134,6 +134,11 @@ extern inline void pci_release_regions(struct pci_dev *dev) #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,2,14) +extern inline void pci_set_master(struct pci_dev *dev) +{ return; } +#endif // 2.2.14 + #endif #endif /* _COMPAT_PCI_H */