projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8b023f
)
fix compat for pci_enable_device
author
David Schleef
<ds@schleef.org>
Thu, 21 Nov 2002 04:29:03 +0000
(
04:29
+0000)
committer
David Schleef
<ds@schleef.org>
Thu, 21 Nov 2002 04:29:03 +0000
(
04:29
+0000)
include/linux/pci.h
patch
|
blob
|
history
diff --git
a/include/linux/pci.h
b/include/linux/pci.h
index 6584919b9adae2a41327c4b4776fc5169286d1fa..1a0d4a9af9374e55a349a1f5e1643d0e651c9b8c 100644
(file)
--- a/
include/linux/pci.h
+++ b/
include/linux/pci.h
@@
-20,7
+20,7
@@
#define pci_for_each_dev(x) \
for((x)=pci_devices;(x);(x)=(x)->next)
-#define pci_enable_device(x) 0
+static inline int pci_enable_device(struct pci_dev *dev){return 0;}
#define pci_disable_device(x)
#define PCI_ANY_ID (~0)