Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mfd: aat2870: Add GPIOLIB_LEGACY dependency

This driver uses the legacy gpiolib interfaces to get gpio
numbers from platform data. There are no in-tree users of
this driver, so nothing defines the platform data.

Add a dependency on GPIOLIB_LEGACY for the moment to avoid the build
failure, and make sure the sound driver does not get built without the
mfd portion either pass that dependency along.

Alternatively, we could remove the mfd driver along with the backlight
and regulator portions.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20250808151822.536879-15-arnd@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Arnd Bergmann and committed by
Lee Jones
eca0259e e399d779

+1
+1
drivers/mfd/Kconfig
··· 129 129 select MFD_CORE 130 130 depends on I2C=y 131 131 depends on GPIOLIB || COMPILE_TEST 132 + depends on GPIOLIB_LEGACY 132 133 help 133 134 If you say yes here you get support for the AAT2870. 134 135 This driver provides common support for accessing the device,