]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] fix xm_x2xx_defconfig build errors
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 11 Dec 2008 17:20:44 +0000 (17:20 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 13 Dec 2008 09:12:09 +0000 (09:12 +0000)
drivers/built-in.o: In function `pci_set_consistent_dma_mask':
hid-quirks.c:(.text+0x2664): multiple definition of `pci_set_consistent_dma_mask'
drivers/built-in.o: In function `pci_set_dma_mask':
hid-quirks.c:(.text+0x42c4): multiple definition of `pci_set_dma_mask'

because drivers/pci/pci.c was not seeing the definition disabling these
functions.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/include/mach/dma.h
arch/arm/mach-pxa/include/mach/hardware.h

index 955bfe60606754e598856afb3eb792760371b0f7..7804637a6df3de4c32b435b865cec0721dc0e431 100644 (file)
@@ -30,10 +30,6 @@ typedef enum {
        DMA_PRIO_LOW = 2
 } pxa_dma_prio;
 
-#if defined(CONFIG_MACH_ARMCORE) && defined(CONFIG_PCI)
-#define HAVE_ARCH_PCI_SET_DMA_MASK     1
-#endif
-
 /*
  * DMA registration
  */
index e2d6784aa7efc1f20dacf672b6ad6722b5b460fa..4e782ec386686dd3fe92c96cbdc1bdfd17c18993 100644 (file)
@@ -297,6 +297,8 @@ extern unsigned int get_memclk_frequency_10khz(void);
 #define PCIBIOS_MIN_IO         0
 #define PCIBIOS_MIN_MEM                0
 #define pcibios_assign_all_busses()    1
+#define HAVE_ARCH_PCI_SET_DMA_MASK     1
 #endif
 
+
 #endif  /* _ASM_ARCH_HARDWARE_H */