From: Ian Abbott Date: Mon, 28 Apr 2008 15:27:21 +0000 (+0000) Subject: Add compatibility for DEFINE_PCI_DEVICE_TABLE() macro. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=750e59c1e0c1b54e38e913da3274baa8cb647957;p=comedi.git Add compatibility for DEFINE_PCI_DEVICE_TABLE() macro. --- 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 */