projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f325e1e
)
Add compatibility for DEFINE_PCI_DEVICE_TABLE() macro.
author
Ian Abbott
<abbotti@mev.co.uk>
Mon, 28 Apr 2008 15:27:21 +0000
(15:27 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Mon, 28 Apr 2008 15:27:21 +0000
(15:27 +0000)
include/linux/pci.h
patch
|
blob
|
history
diff --git
a/include/linux/pci.h
b/include/linux/pci.h
index 2fde73e84420e6f3d37358adee86d152ceb6c1bb..9fc43ab2a10cde1754b51f5fb5be2b1808d13e0d 100644
(file)
--- a/
include/linux/pci.h
+++ b/
include/linux/pci.h
@@
-23,4
+23,9
@@
static inline char *pci_name(struct pci_dev *pdev)
}
#endif
+#ifndef DEFINE_PCI_DEVICE_TABLE
+#define DEFINE_PCI_DEVICE_TABLE(_table) \
+ struct pci_device_id _table[]
+#endif
+
#endif /* _COMPAT_PCI_H */