From: Heiko Carstens Date: Mon, 7 Jan 2013 12:52:53 +0000 (+0100) Subject: s390/pci: define isa_dma_bridge_buggy X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=87890f92278dc0c2da4ecdaa196006a3c2cf3687;p=openwrt%2Fstaging%2Fblogic.git s390/pci: define isa_dma_bridge_buggy Define isa_dma_bridge_buggy. Needed to make pci quirks compile: drivers/pci/quirks.c: In function ‘quirk_isa_dma_hangs’: drivers/pci/quirks.c:88:7: error: ‘isa_dma_bridge_buggy’ undeclared (first use in this function) Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/include/asm/dma.h b/arch/s390/include/asm/dma.h index de015d85e3e5..bb9bdcd20864 100644 --- a/arch/s390/include/asm/dma.h +++ b/arch/s390/include/asm/dma.h @@ -10,4 +10,10 @@ */ #define MAX_DMA_ADDRESS 0x80000000 +#ifdef CONFIG_PCI +extern int isa_dma_bridge_buggy; +#else +#define isa_dma_bridge_buggy (0) +#endif + #endif /* _ASM_S390_DMA_H */