Skip to content

Commit

Permalink
s390/pci: define isa_dma_bridge_buggy
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Jan 8, 2013
1 parent 6673cd0 commit 87890f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/s390/include/asm/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 87890f9

Please sign in to comment.