# Re: \[PATCH\] fbdev: FB\_OPENCORES should depend on HAS\_DMA

- From: Tomi Valkeinen \<hidden\>
- Date: 2014-03-05 12:44:22 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2014/03/4211704
- Thread: https://ratatoskr.run/linux-fbdev/2014/02/4204701/t.md

```text
On 21/02/14 21:56, Geert Uytterhoeven wrote:
> If NO_DMA=y:
> 
>     drivers/built-in.o: In function `ocfb_remove':
>     ocfb.c:(.text+0x27fee): undefined reference to `dma_free_coherent'
>     drivers/built-in.o: In function `ocfb_probe':
>     ocfb.c:(.text+0x28418): undefined reference to `dma_alloc_coherent'
>     ocfb.c:(.text+0x284d2): undefined reference to `dma_free_coherent'
> 

Thanks, applied to fbdev branch.

 Tomi


```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2014/03/4211704/attachment/0) (application/pgp-signature, 901 bytes)
