took out line that belonged in init.h, added include for definition of pci_alloc_cons...
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 19 Sep 2001 19:25:49 +0000 (19:25 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 19 Sep 2001 19:25:49 +0000 (19:25 +0000)
used by older kernels

include/linux/pci.h

index f685854adc8d58679da965a2bdcca59d455d6fb1..095d1166ae28b926a2295f255414a848606de1ea 100644 (file)
@@ -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 <asm/io.h>
+#include <linux/malloc.h>
 #define PCI_DMA_FROMDEVICE              0
 #define PCI_DMA_TODEVICE                0
 static inline void *pci_alloc_consistent(struct pci_dev *hwdev, size_t size,