From 6afb514f84fc557153746a2605ed60fdf7f72b28 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 3 May 2002 02:52:05 +0000 Subject: [PATCH] added pci_set_master() compatibility --- include/linux/pci.h | 5 +++++ 1 file changed, 5 insertions(+) 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 */ -- 2.26.2