]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ARM: 6281/1: video/imxfb.c: allow usage without BACKLIGHT_CLASS_DEVICE
authorEric Bénard <eric@eukrea.com>
Mon, 2 Aug 2010 07:39:55 +0000 (08:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 10 Aug 2010 21:10:51 +0000 (22:10 +0100)
commit81ef806163ebfd4775fc3154e031aad6feaaa192
tree724ce4c8cf71314d66f6a672d329f3f704450b0d
parent868003ca7ad17ac6c1606dc36101f10a7825b399
ARM: 6281/1: video/imxfb.c: allow usage without BACKLIGHT_CLASS_DEVICE

From: Eric Bénard <eric@eukrea.com>

This fixes the following build failure:

drivers/built-in.o: In function `imxfb_probe': mxcmmc.c:(.init.text+0xd04): undefined reference to `backlight_device_register'
drivers/built-in.o: In function `imxfb_remove': mxcmmc.c:(.devexit.text+0x44): undefined reference to `backlight_device_unregister'

that was introduced by

7a2bb23 (imxfb: add pwmr controlled backlight support)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/video/imxfb.c