From e24cca19babe33a7d05712df041f5abbeca4f1bf Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Sat, 19 May 2012 18:50:09 +0900 Subject: sh: Kill off MAX_DMA_ADDRESS leftovers. We don't support the ISA DMA API, so this is only ever misused. The dma-sh case inadvertently broke the dreamcast case by testing the wrong variable for the total number of channels, so this fixes that up too. Signed-off-by: Paul Mundt --- arch/sh/include/mach-dreamcast/mach/dma.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'arch/sh/include/mach-dreamcast') diff --git a/arch/sh/include/mach-dreamcast/mach/dma.h b/arch/sh/include/mach-dreamcast/mach/dma.h index ddd68e788705..1dbfdf701c9d 100644 --- a/arch/sh/include/mach-dreamcast/mach/dma.h +++ b/arch/sh/include/mach-dreamcast/mach/dma.h @@ -11,9 +11,7 @@ #define __ASM_SH_DREAMCAST_DMA_H /* Number of DMA channels */ -#define ONCHIP_NR_DMA_CHANNELS 4 #define G2_NR_DMA_CHANNELS 4 -#define PVR2_NR_DMA_CHANNELS 1 /* Channels for cascading */ #define PVR2_CASCADE_CHAN 2 -- cgit v1.2.3-59-g8ed1b