]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Revert "ARM: shmobile: Disallow PINCTRL without GPIOLIB"
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 31 May 2013 03:00:27 +0000 (05:00 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 5 Jun 2013 08:18:21 +0000 (17:18 +0900)
GPIOLIB dependency handling was added to the PINCTRL core by

commit e9563a43dc0cacfb1cd6f0bac5556c48d63cf495
Author: Haojian Zhuang <haojian.zhuang@linaro.org>
Date:   Thu Mar 28 07:34:19 2013 +0800

    pinctrl: core: add dependence of GPIOLIB

There is not need to handle that dependency at the SH Mobile level
anymore. Revert

commit 4bd0e6f7d12bc6ea672e060c8ae20b8e6ea35e0e
Author: Magnus Damm <damm@opensource.se>
Date:   Mon Mar 18 22:58:18 2013 +0900

    ARM: shmobile: Disallow PINCTRL without GPIOLIB

    Modify mach-shmobile to only select PINCTRL in case of
    ARCH_WANT_OPTIONAL_GPIOLIB is set.

    This fixes a build error triggered when adding a new SoC
    lacking GPIO software support (ARCH_WANT_OPTIONAL_GPIOLIB=n):

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/Kconfig

index 49d993cee51232874a81814fe39ca99e09b88bad..dfb4fee1f552f8fdc5fcf5ad32826b915dbb506d 100644 (file)
@@ -645,7 +645,7 @@ config ARCH_SHMOBILE
        select MULTI_IRQ_HANDLER
        select NEED_MACH_MEMORY_H
        select NO_IOPORT
-       select PINCTRL if ARCH_WANT_OPTIONAL_GPIOLIB
+       select PINCTRL
        select PM_GENERIC_DOMAINS if PM
        select SPARSE_IRQ
        help