put typedef of dma_addr_t in asm/types.h and restricted it to pre 2.2.18 kernels
authorFrank Mori Hess <fmhess@speakeasy.net>
Fri, 3 May 2002 02:58:48 +0000 (02:58 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Fri, 3 May 2002 02:58:48 +0000 (02:58 +0000)
include/linux/pci.h

index 8ba578044974462c6c95b7599ed139f8e5d1e22d..7ce4e2cc1e5c2166adc9fa27148ef5fc9bc8d235 100644 (file)
@@ -16,9 +16,6 @@
 #define PCI_SUPPORT_VER2
 
 #if LINUX_VERSION_CODE < 0x020300 /* XXX */
-#include <linux/types.h>
-
-typedef u64 dma_addr_t;
 
 #define pci_for_each_dev(x)    \
        for((x)=pci_devices;(x);(x)=(x)->next)