projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7557395
)
added pci_set_master() compatibility
author
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 3 May 2002 02:52:05 +0000
(
02:52
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 3 May 2002 02:52:05 +0000
(
02:52
+0000)
include/linux/pci.h
patch
|
blob
|
history
diff --git
a/include/linux/pci.h
b/include/linux/pci.h
index b3943d3489d1f8a92ee86bbc12fd5fa7114fbef3..8ba578044974462c6c95b7599ed139f8e5d1e22d 100644
(file)
--- 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 */