diff options
Diffstat (limited to 'include/dahdi/kernel.h')
-rw-r--r-- | include/dahdi/kernel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index 27ab02b..7e28738 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -1273,6 +1273,11 @@ wait_for_completion_interruptible_timeout(struct completion *x, #define mutex_unlock(_x) up(_x) #endif +#ifndef DEFINE_PCI_DEVICE_TABLE +#define DEFINE_PCI_DEVICE_TABLE(_x) \ + const struct pci_device_id _x[] __devinitdata +#endif + #ifndef DMA_BIT_MASK #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) #endif |