summaryrefslogtreecommitdiff
path: root/arch/sh/boards/mach-kfr2r09/Makefile
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2010-07-21 14:13:17 +0400
committerPaul Mundt <lethal@linux-sh.org>2010-08-04 11:12:11 +0400
commitc2439398170be9d7af28eb3ab59593369cb303f3 (patch)
tree19a1b4078363950e13c940dcd32d38e884a8257b /arch/sh/boards/mach-kfr2r09/Makefile
parentb90884c886696a67a4c7832b4e627f341a860b3d (diff)
downloadlinux-c2439398170be9d7af28eb3ab59593369cb303f3.tar.xz
sh: add a parameter to LCDC driver's .display_on() callback
HDMI support for the sh_mobile_lcdc framebuffer driver will require a 'struct fb_info *' pointer for its .display_on() callback. While at it fix kfr2r09 framebuffer modular build. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/mach-kfr2r09/Makefile')
-rw-r--r--arch/sh/boards/mach-kfr2r09/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/sh/boards/mach-kfr2r09/Makefile b/arch/sh/boards/mach-kfr2r09/Makefile
index 4e577a3bf658..60dd63f4a427 100644
--- a/arch/sh/boards/mach-kfr2r09/Makefile
+++ b/arch/sh/boards/mach-kfr2r09/Makefile
@@ -1,2 +1,4 @@
-obj-y := setup.o sdram.o
-obj-$(CONFIG_FB_SH_MOBILE_LCDC) += lcd_wqvga.o
+obj-y := setup.o sdram.o
+ifneq ($(CONFIG_FB_SH_MOBILE_LCDC),)
+obj-y += lcd_wqvga.o
+endif