[PATCH] pxa/hx4700: actually use platform_lcd driver

Eric Miao eric.y.miao at gmail.com
Sat Nov 28 22:09:03 EST 2009


On Wed, Nov 25, 2009 at 8:04 PM, pHilipp Zabel <philipp.zabel at gmail.com> wrote:
> On Wed, Nov 25, 2009 at 12:33 PM, Dmitry Artamonow <mad_soft at inbox.ru> wrote:
>> 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 at inbox.ru>
>> ---
>>  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 <philipp.zabel at gmail.com>
>

Applied to 'devel'.



More information about the linux-arm-kernel mailing list