From 3edf27b4711366e433ba4f70e37cc3f4fbdc302a Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 19 Sep 2001 19:25:49 +0000 Subject: [PATCH] took out line that belonged in init.h, added include for definition of pci_alloc_consistent() used by older kernels --- include/linux/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/pci.h b/include/linux/pci.h index f685854a..095d1166 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -23,7 +23,6 @@ #define pci_enable_device(x) 0 #define PCI_ANY_ID (~0) -#define __devinitdata __initdata struct pci_device_id { unsigned int vendor, device; @@ -34,6 +33,7 @@ struct pci_device_id { // stuff for allocating pci dma buffers #include +#include #define PCI_DMA_FROMDEVICE 0 #define PCI_DMA_TODEVICE 0 static inline void *pci_alloc_consistent(struct pci_dev *hwdev, size_t size, -- 2.26.2