diff options
author | Pawel Moll <pawel.moll@arm.com> | 2014-08-01 10:43:34 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-08-04 02:31:35 -0400 |
commit | 1d5167b72ca05b2096760e1200fcd53b5f9a7562 (patch) | |
tree | 15e3b23fb3d6877814dce3b354b40d608612f001 /drivers/video/fbdev/amba-clcd.c | |
parent | d7aa64c32bdcb2c1bc5932b3d2927863ae31ccbc (diff) |
video: ARM CLCD: Fix DT-related build problems
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 <fengguang.wu@intel.com>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/amba-clcd.c')
-rw-r--r-- | drivers/video/fbdev/amba-clcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/amba-clcd.c b/drivers/video/fbdev/amba-clcd.c index 23b35194dee3..beadd3edaa17 100644 --- a/drivers/video/fbdev/amba-clcd.c +++ b/drivers/video/fbdev/amba-clcd.c | |||
@@ -797,7 +797,7 @@ static struct clcd_board *clcdfb_of_get_board(struct amba_device *dev) | |||
797 | return board; | 797 | return board; |
798 | } | 798 | } |
799 | #else | 799 | #else |
800 | static struct clcd_board *clcdfb_of_get_board(struct amba_dev *dev) | 800 | static struct clcd_board *clcdfb_of_get_board(struct amba_device *dev) |
801 | { | 801 | { |
802 | return NULL; | 802 | return NULL; |
803 | } | 803 | } |