Re: [PATCH leds v2 03/50] leds: fsg: compile if COMPILE_TEST=y

2020-09-19 Thread Marek Behun
On Sat, 19 Sep 2020 11:56:16 +0200 Pavel Machek wrote: > #include It can't include this header on other platforms...

Re: [PATCH leds v2 03/50] leds: fsg: compile if COMPILE_TEST=y

2020-09-19 Thread Pavel Machek
On Fri 2020-09-18 00:32:51, Marek BehĂșn wrote: > This driver can be compiled on other platforms with small change if > COMPILE_TEST=y. > > Signed-off-by: Marek BehĂșn > +++ b/drivers/leds/leds-fsg.c > @@ -16,7 +16,13 @@ > #include > #include > #include > + > +#if IS_ENABLED(MACH_FSG) > #in