# Re: \[PATCH\] video: ARM CLCD: Fix DT-related build problems

- From: Tomi Valkeinen \<hidden\>
- Date: 2014-08-04 06:38:01 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2014/08/13465893
- Thread: https://ratatoskr.run/linux-fbdev/2014/08/13465892/t.md

```text
On 01/08/14 17:43, Pawel Moll wrote:
> This patch fixes the following error when !CONFIG_OF:
> 
> drivers/video/fbdev/amba-clcd.c:800:54: warning: ‘struct amba_dev’ declared inside parameter list [enabled by default]
>  static struct clcd_board *clcdfb_of_get_board(struct amba_dev *dev)
>                                                       ^
> and adds a missing Kconfig select causing this
> when CONFIG_OF && !CONFIG_FB_MODE_HELPERS:
> 
> drivers/video/fbdev/amba-clcd.c:567: undefined reference to `fb_videomode_from_videomode'
> 
> Reported-by: Fengguang Wu <redacted>
> Signed-off-by: Pawel Moll <redacted>
> ---
> 
> Hi Tomi,
> 
> This fixes two small problems detected in next by the kbuild test robot
> (thanks, Fengguang!) Hope you can apply it before the merge window.

Thanks, applied.

 Tomi


```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-fbdev/2014/08/13465893/attachment/0) (application/pgp-signature, 819 bytes)
