Add compatibility for DEFINE_PCI_DEVICE_TABLE() macro.
authorIan Abbott <abbotti@mev.co.uk>
Mon, 28 Apr 2008 15:27:21 +0000 (15:27 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Mon, 28 Apr 2008 15:27:21 +0000 (15:27 +0000)
include/linux/pci.h

index 2fde73e84420e6f3d37358adee86d152ceb6c1bb..9fc43ab2a10cde1754b51f5fb5be2b1808d13e0d 100644 (file)
@@ -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 */