Skip to content

Commit 5f566c0

Browse files
foxdroddhdeller
authored andcommitted
fbdev: pvr2fb: Fix leftover reference to ONCHIP_NR_DMA_CHANNELS
Commit e24cca1 ("sh: Kill off MAX_DMA_ADDRESS leftovers.") removed the define ONCHIP_NR_DMA_CHANNELS. So that the leftover reference needs to be replaced by CONFIG_NR_ONCHIP_DMA_CHANNELS to compile successfully with CONFIG_PVR2_DMA enabled. Signed-off-by: Florian Fuchs <[email protected]> Reviewed-by: John Paul Adrian Glaubitz <[email protected]> Signed-off-by: Helge Deller <[email protected]> Cc: [email protected]
1 parent eb53368 commit 5f566c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/video/fbdev/pvr2fb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ static unsigned long pvr2fb_map;
192192

193193
#ifdef CONFIG_PVR2_DMA
194194
static unsigned int shdma = PVR2_CASCADE_CHAN;
195-
static unsigned int pvr2dma = ONCHIP_NR_DMA_CHANNELS;
195+
static unsigned int pvr2dma = CONFIG_NR_ONCHIP_DMA_CHANNELS;
196196
#endif
197197

198198
static struct fb_videomode pvr2_modedb[] = {

0 commit comments

Comments
 (0)