mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
fbdev: pvr2fb: Fix leftover reference to ONCHIP_NR_DMA_CHANNELS
commit 5f566c0ac51cd2474e47da68dbe719d3acf7d999 upstream.
Commit e24cca19ba ("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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a10cede006
commit
a567ecce51
1 changed files with 1 additions and 1 deletions
|
|
@ -191,7 +191,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[] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue