]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: pxa: don't select GPIO_SYSFS for MIOA701
authorArnd Bergmann <arnd@arndb.de>
Fri, 29 Jan 2016 14:06:28 +0000 (15:06 +0100)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 1 Feb 2016 20:44:17 +0000 (21:44 +0100)
GPIO_SYSFS is a common kernel functionality, not something
that a board specific Kconfig should have to worry about.
In MIOA701, we get a warning about the select when CONFIG_SYSFS
is disabled:

warning: (MACH_MIOA701) selects GPIO_SYSFS which has unmet direct dependencies (GPIOLIB && SYSFS)

This just removes the select and instead enables the symbol in
the defconfig file.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/configs/pxa_defconfig
arch/arm/mach-pxa/Kconfig

index 0cb724b5c639269bef9787064c610afa82166ea0..dc5517eaf09fbc878a23239a1076b941340dc338 100644 (file)
@@ -378,6 +378,7 @@ CONFIG_GPIO_PALMAS=y
 CONFIG_GPIO_TPS6586X=y
 CONFIG_GPIO_TPS65910=y
 CONFIG_GPIO_MAX7301=m
+CONFIG_GPIO_SYSFS=y
 CONFIG_POWER_SUPPLY_DEBUG=y
 CONFIG_PDA_POWER=m
 CONFIG_BATTERY_SBS=m
index f096836879634fb87897574a1476e26a196fb349..01066cff16e46ac1dfb11776fdd2ba5a607286aa 100644 (file)
@@ -297,7 +297,6 @@ config MACH_MAGICIAN
 
 config MACH_MIOA701
        bool "Mitac Mio A701 Support"
-       select GPIO_SYSFS
        select IWMMXT
        select PXA27x
        help