mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 00:15:18 +07:00
f7e36e1894
In a rare randconfig build I came across one configuration that does
not enable CONFIG_GPIOLIB, which is needed by lochnagar:
ERROR: "devm_gpiochip_add_data" [drivers/pinctrl/cirrus/pinctrl-lochnagar.ko] undefined!
ERROR: "gpiochip_generic_free" [drivers/pinctrl/cirrus/pinctrl-lochnagar.ko] undefined!
ERROR: "gpiochip_generic_request" [drivers/pinctrl/cirrus/pinctrl-lochnagar.ko] undefined!
ERROR: "gpiochip_get_data" [drivers/pinctrl/cirrus/pinctrl-lochnagar.ko] undefined!
Add another 'select' like all other pinctrl drivers have.
Fixes: 0548448b71
("pinctrl: lochnagar: Add support for the Cirrus Logic Lochnagar")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20191218163701.171914-1-arnd@arndb.de
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
33 lines
635 B
Plaintext
33 lines
635 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config PINCTRL_LOCHNAGAR
|
|
tristate "Cirrus Logic Lochnagar pinctrl driver"
|
|
depends on MFD_LOCHNAGAR
|
|
select GPIOLIB
|
|
select PINMUX
|
|
select PINCONF
|
|
select GENERIC_PINCONF
|
|
help
|
|
This driver supports configuring the GPIO and other pin configuration
|
|
of the Cirrus Logic Lochnagar audio development board.
|
|
|
|
# This is all selected by the Madera MFD driver Kconfig options
|
|
config PINCTRL_MADERA
|
|
tristate
|
|
select PINMUX
|
|
select GENERIC_PINCONF
|
|
|
|
config PINCTRL_CS47L15
|
|
bool
|
|
|
|
config PINCTRL_CS47L35
|
|
bool
|
|
|
|
config PINCTRL_CS47L85
|
|
bool
|
|
|
|
config PINCTRL_CS47L90
|
|
bool
|
|
|
|
config PINCTRL_CS47L92
|
|
bool
|