linux-mips
[Top] [All Lists]

[RFC 3/3] blackfin: force use of gpiolib

To: Mike Frysinger <vapier@gentoo.org>, Geert Uytterhoeven <geert@linux-m68k.org>, Ralf Baechle <ralf@linux-mips.org>
Subject: [RFC 3/3] blackfin: force use of gpiolib
From: Alexandre Courbot <gnurou@gmail.com>
Date: Sun, 17 Mar 2013 22:42:03 +0900
Cc: uclinux-dist-devel@blackfin.uclinux.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@linux-mips.org, gnurou@gmail.com, Alexandre Courbot <acourbot@nvidia.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=sLSB9AjRpBHlNg/NOCBse9seNEKIskd4osTX5vG7mXw=; b=UciWLBjSnj7zuyTBHp6rLgQB2fbO3Iz5FIXn9w+tU6aQ6nHREQyTsO9YsLo8SC/J7v N8jeavzwVD2OgGUjJplJpvwcxJYrtXQ3Qd+GnpcaHLtzdvBXvhJpzncStHUjzy8POHPO Ur80tt8WrDdo70d5M2xKjQqREF6XI7JvWgsqz2txFU1g5pbpm8d0uLR1dAffoMlFlEcU 9dtdDtiZOZVaDCrYfpEkc56AhWXXzckOlRdmKoi7P8X+XaovxKZTQo+D7Fz4vvJSxnPY aCRX9YSe8TQYu3SWr8IzMVhHYELtVrJVdFlYpVMF2oyTZ2qAxDazWAqmB3SkY2a9ob1l b+Pg==
In-reply-to: <1363527723-32713-1-git-send-email-acourbot@nvidia.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1363527723-32713-1-git-send-email-acourbot@nvidia.com>
Sender: linux-mips-bounce@linux-mips.org
Set the GENERIC_GPIO option to false by default and force the use of
gpiolib instead of making it optional, to prepare for the removal of
GENERIC_GPIO.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/blackfin/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
index c3f2e0b..20e203a 100644
--- a/arch/blackfin/Kconfig
+++ b/arch/blackfin/Kconfig
@@ -31,7 +31,7 @@ config BLACKFIN
        select HAVE_OPROFILE
        select HAVE_PERF_EVENTS
        select ARCH_HAVE_CUSTOM_GPIO_H
-       select ARCH_WANT_OPTIONAL_GPIOLIB
+       select ARCH_REQUIRE_GPIOLIB
        select HAVE_UID16
        select VIRT_TO_BUS
        select ARCH_WANT_IPC_PARSE_VERSION
@@ -56,7 +56,7 @@ config ZONE_DMA
        def_bool y
 
 config GENERIC_GPIO
-       def_bool y
+       def_bool n
 
 config FORCE_MAX_ZONEORDER
        int
-- 
1.8.2


<Prev in Thread] Current Thread [Next in Thread>