added pci_set_master() compatibility
authorFrank Mori Hess <fmhess@speakeasy.net>
Fri, 3 May 2002 02:52:05 +0000 (02:52 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Fri, 3 May 2002 02:52:05 +0000 (02:52 +0000)
include/linux/pci.h

index b3943d3489d1f8a92ee86bbc12fd5fa7114fbef3..8ba578044974462c6c95b7599ed139f8e5d1e22d 100644 (file)
@@ -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 */