# Re: \[PATCH\] fbdev/pvr2fb: Fix leftover reference to ONCHIP\_NR\_DMA\_CHANNELS

- From: Helge Deller \<deller@gmx.de\>
- Date: 2025-10-28 21:17:01 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2025/10/3271472
- Thread: https://ratatoskr.run/linux-fbdev/2025/10/3267073/t.md

```text
On 10/26/25 00:38, Florian Fuchs wrote:
> 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 <redacted>
> ---
> Note: The fix has been compiled, and tested on real Dreamcast hardware,
> with CONFIG_PVR2_DMA=y.
>
>   drivers/video/fbdev/pvr2fb.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

applied.

Thanks!
Helge
```
