Thread (3 messages) 3 messages, 3 authors, 2009-11-29
DORMANTno replies

[PATCH] pxa/hx4700: actually use platform_lcd driver

From: Eric Miao <hidden>
Date: 2009-11-29 03:09:03

On Wed, Nov 25, 2009 at 8:04 PM, pHilipp Zabel [off-list ref] wrote:
On Wed, Nov 25, 2009 at 12:33 PM, Dmitry Artamonow [off-list ref] wrote:
quoted
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 <redacted>
---
?arch/arm/mach-pxa/hx4700.c | ? ?1 +
?1 files changed, 1 insertions(+), 0 deletions(-)

This is a fix for 2.6.32.
diff --git a/arch/arm/mach-pxa/hx4700.c b/arch/arm/mach-pxa/hx4700.c
index 83bd3c6..af44db2 100644
--- a/arch/arm/mach-pxa/hx4700.c
+++ b/arch/arm/mach-pxa/hx4700.c
@@ -820,6 +820,7 @@ static struct platform_device *devices[] __initdata = {
? ? ? ?&gpio_keys,
? ? ? ?&backlight,
? ? ? ?&w3220,
+ ? ? ? &hx4700_lcd,
? ? ? ?&egpio,
? ? ? ?&bq24022,
? ? ? ?&gpio_vbus,
--
1.6.3.4
Thanks, this got lost in my local tree during the switch to platform_lcd.

Acked-by: Philipp Zabel <redacted>
Applied to 'devel'.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help