[ARM] pxa/hx4700: actually use platform_lcd driver
authorDmitry Artamonow <mad_soft@inbox.ru>
Wed, 25 Nov 2009 11:33:15 +0000 (14:33 +0300)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 1 Dec 2009 01:03:15 +0000 (09:03 +0800)
Commit e2c509c7e6 ([ARM] pxa/hx4700: use platform_lcd driver)
missed to actually register platform device for LCD.
It causes following GCC warning:
arch/arm/mach-pxa/hx4700.c:553: warning: 'hx4700_lcd' defined but not used

Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
Acked-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/hx4700.c

index 6b3c90ed5f2899ed0fe6e65fa3101f68b0db988c..848c861dd23f20acbbd121d32a9e0721acbee45c 100644 (file)
@@ -820,6 +820,7 @@ static struct platform_device *devices[] __initdata = {
        &gpio_keys,
        &backlight,
        &w3220,
+       &hx4700_lcd,
        &egpio,
        &bq24022,
        &gpio_vbus,