Re: [PATCH] drivers: leds: leds-tca6507: check CONFIG_GPIOLIB whether defined for 'gpio_base'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/10/2013 02:24 AM, Bryan Wu wrote:
> On Sun, Dec 8, 2013 at 8:41 PM, Chen Gang <gang.chen.5i5j@xxxxxxxxx> wrote:
>>
>> Need check CONFIG_GPIOLIB whether defined, just like another area has
>> done within this file. Or can not pass compiling when CONFIG_GPIOLIB
>> disabled.
>>
>> The related error (with allmodconfig for metag):
>>
>>     CC [M]  drivers/leds/leds-tca6507.o
>>   drivers/leds/leds-tca6507.c: In function 'tca6507_led_dt_init':
>>   drivers/leds/leds-tca6507.c:731: error: 'struct tca6507_platform_data' has no member named 'gpio_base'
>>
>>
> 
> Good, I merged it into my tree.
> Thanks,
> -Bryan
>

Thank you too.

-- 
Chen Gang

Open, share, and attitude like air, water and life which God blessed
--
To unsubscribe from this list: send the line "unsubscribe linux-leds" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux