Re: [PATCH] leds: LP55XX_COMMON needs to depend on LEDS_CLASS

2020-08-17 Thread Pavel Machek
Hi! > From: Randy Dunlap > > With these kernel configs: > CONFIG_LEDS_CLASS=m > # CONFIG_LEDS_CLASS_MULTICOLOR is not set > CONFIG_LEDS_LP55XX_COMMON=y > CONFIG_LEDS_LP5521=m > CONFIG_LEDS_LP5562=m > > leds-lp55xx-common.c has a build error because it is builtin and > calls an interface that

[PATCH] leds: LP55XX_COMMON needs to depend on LEDS_CLASS

2020-08-17 Thread Randy Dunlap
From: Randy Dunlap With these kernel configs: CONFIG_LEDS_CLASS=m # CONFIG_LEDS_CLASS_MULTICOLOR is not set CONFIG_LEDS_LP55XX_COMMON=y CONFIG_LEDS_LP5521=m CONFIG_LEDS_LP5562=m leds-lp55xx-common.c has a build error because it is builtin and calls an interface that is built as a loadable