]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
fbdev: pvr2fb: Fix leftover reference to ONCHIP_NR_DMA_CHANNELS
authorFlorian Fuchs <fuchsfl@gmail.com>
Sat, 25 Oct 2025 22:38:50 +0000 (00:38 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 28 Oct 2025 21:59:19 +0000 (22:59 +0100)
Commit e24cca19babe ("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 <fuchsfl@gmail.com>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: stable@vger.kernel.org
drivers/video/fbdev/pvr2fb.c

index cbdb1caf61bd54879ac64168802e8ad153943752..0b8d23c12b7734fc62cf51a4f7793382c5b78c11 100644 (file)
@@ -192,7 +192,7 @@ static unsigned long pvr2fb_map;
 
 #ifdef CONFIG_PVR2_DMA
 static unsigned int shdma = PVR2_CASCADE_CHAN;
-static unsigned int pvr2dma = ONCHIP_NR_DMA_CHANNELS;
+static unsigned int pvr2dma = CONFIG_NR_ONCHIP_DMA_CHANNELS;
 #endif
 
 static struct fb_videomode pvr2_modedb[] = {