diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-01-07 12:52:53 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-01-08 09:57:09 (GMT) |
commit | 87890f92278dc0c2da4ecdaa196006a3c2cf3687 (patch) | |
tree | 48c16adaca2c2b06f5944eb1bee0a9dcb8d04acf | |
parent | 6673cd0bdbc802f2b05453a51fbcf2cf7d8be315 (diff) | |
download | linux-87890f92278dc0c2da4ecdaa196006a3c2cf3687.tar.xz |
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 <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r-- | arch/s390/include/asm/dma.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/s390/include/asm/dma.h b/arch/s390/include/asm/dma.h index de015d8..bb9bdcd 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 */ |