mfd: aat2870: Add GPIOLIB_LEGACY dependency
authorArnd Bergmann <arnd@arndb.de>
Fri, 8 Aug 2025 15:17:58 +0000 (17:17 +0200)
committerLee Jones <lee@kernel.org>
Wed, 1 Oct 2025 09:28:31 +0000 (10:28 +0100)
commiteca0259e3b9c0d532051727d3d85fd8a42138f71
tree7fd2fe91aa9bd385420b4ef03406f613b26e9477
parente399d779c9acf277488c5b306b71dcbc71e160ca
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>
drivers/mfd/Kconfig