Re: [PATCH v4 2/2] leds: add LED driver for EL15203000 board

Jacek Anaszewski
2019-08-27T20:56:59Z

Hi Oleh,

On 8/27/19 10:43 PM, Oleh Kravchenko wrote:
> Hello Jacek,
>
> what status of linux-leds.git?
> git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski/linux-leds.git
>
> Is it outdated? Because I have a errors:
> drivers/leds/leds-el15203000.c:234:9: error: variable ‘init_data’ has initializer but incomplete type
> struct led_init_data init_data = {};

I've just compiled drivers/leds/leds-aat1290.c driver that contains the
same declaration and it went just fine.

I know this is trivial, but did you "#include <linux/leds.h>" ?

--
Best regards,
Jacek Anaszewski