From 750e59c1e0c1b54e38e913da3274baa8cb647957 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Mon, 28 Apr 2008 15:27:21 +0000 Subject: [PATCH] Add compatibility for DEFINE_PCI_DEVICE_TABLE() macro. --- include/linux/pci.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/pci.h b/include/linux/pci.h index 2fde73e8..9fc43ab2 100644 --- 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 */ -- 2.26.2