From: Randy Dunlap Date: Fri, 23 Mar 2012 22:02:03 +0000 (-0700) Subject: backlight: fix ot200_bl build X-Git-Tag: v3.4-rc1~109^2~109 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2df5e12900d847af9113980d015939dde0d1b1d4;p=profile%2Fcommon%2Fkernel-common.git backlight: fix ot200_bl build Fix build error when GPIO_CS5535 is not enabled: drivers/built-in.o: In function `ot200_backlight_probe': ot200_bl.c:(.text+0x205bf): undefined reference to `cs5535_gpio_set' ot200_bl.c:(.text+0x205d1): undefined reference to `cs5535_gpio_set' Signed-off-by: Randy Dunlap Cc: Christian Gmeiner Cc: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig index ed68fde5..7ed9991 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig @@ -343,7 +343,7 @@ config BACKLIGHT_LP855X config BACKLIGHT_OT200 tristate "Backlight driver for ot200 visualisation device" - depends on BACKLIGHT_CLASS_DEVICE && CS5535_MFGPT + depends on BACKLIGHT_CLASS_DEVICE && CS5535_MFGPT && GPIO_CS5535 help To compile this driver as a module, choose M here: the module will be called ot200_bl.