summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/bcm/Kconfig
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2021-10-20 01:11:21 +0300
committerLinus Walleij <linus.walleij@linaro.org>2021-10-25 01:54:21 +0300
commit4434f4c50345c84373b7117b5c827a88870f9d36 (patch)
tree4295037a3f2422fda1601588077e4cadd2e5f9fe /drivers/pinctrl/bcm/Kconfig
parent53b3947ddb7f309d1f611f8dc9bfd6ea9d699907 (diff)
downloadlinux-4434f4c50345c84373b7117b5c827a88870f9d36.tar.xz
pinctrl: bcm2835: Allow building driver as a module
Update the pinctrl-bcm2835 driver to support being built as as a module by converting it to a module_platform_driver() with the appropriate module license, authors and description. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Nicolas Saenz Julienne <nsaenz@kernel.org> Link: https://lore.kernel.org/r/20211019221127.1953001-1-f.fainelli@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/bcm/Kconfig')
-rw-r--r--drivers/pinctrl/bcm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/bcm/Kconfig b/drivers/pinctrl/bcm/Kconfig
index c9c5efc92731..8fc1feedd861 100644
--- a/drivers/pinctrl/bcm/Kconfig
+++ b/drivers/pinctrl/bcm/Kconfig
@@ -18,7 +18,7 @@ config PINCTRL_BCM281XX
framework. GPIO is provided by a separate GPIO driver.
config PINCTRL_BCM2835
- bool "Broadcom BCM2835 GPIO (with PINCONF) driver"
+ tristate "Broadcom BCM2835 GPIO (with PINCONF) driver"
depends on OF && (ARCH_BCM2835 || ARCH_BRCMSTB || COMPILE_TEST)
select PINMUX
select PINCONF