From patchwork Wed Aug 10 12:16:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 3349 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 02076241D9 for ; Wed, 10 Aug 2011 12:17:24 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id A66D1A182F7 for ; Wed, 10 Aug 2011 12:17:23 +0000 (UTC) Received: by qwb8 with SMTP id 8so746446qwb.11 for ; Wed, 10 Aug 2011 05:17:23 -0700 (PDT) Received: by 10.229.159.194 with SMTP id k2mr2928232qcx.83.1312978643146; Wed, 10 Aug 2011 05:17:23 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.190.71 with SMTP id dh7cs78422qcb; Wed, 10 Aug 2011 05:17:22 -0700 (PDT) Received: from mr.google.com ([10.213.10.135]) by 10.213.10.135 with SMTP id p7mr161293ebp.77.1312978642840 (num_hops = 1); Wed, 10 Aug 2011 05:17:22 -0700 (PDT) Received: by 10.213.10.135 with SMTP id p7mr124348ebp.77.1312978642194; Wed, 10 Aug 2011 05:17:22 -0700 (PDT) Received: from eu1sys200aog101.obsmtp.com (eu1sys200aog101.obsmtp.com [207.126.144.111]) by mx.google.com with SMTP id w3si613824eem.67.2011.08.10.05.17.15 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Aug 2011 05:17:22 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.111 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.111; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.111 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-us.st.com ([167.4.1.35]) (using TLSv1) by eu1sys200aob101.postini.com ([207.126.147.11]) with SMTP ID DSNKTkJ2yfZ0d9CuWqT3rTeq2wPlINAhXj0y@postini.com; Wed, 10 Aug 2011 12:17:22 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.16.71]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id 543AD4D; Wed, 10 Aug 2011 12:16:52 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id 676D76D; Wed, 10 Aug 2011 12:16:52 +0000 (GMT) Received: from exdcvycastm003.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm003", Issuer "exdcvycastm003" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 6B93824C07C; Wed, 10 Aug 2011 14:16:45 +0200 (CEST) Received: from localhost.localdomain (10.230.100.153) by smtp.stericsson.com (10.230.100.1) with Microsoft SMTP Server (TLS) id 8.3.83.0; Wed, 10 Aug 2011 14:16:51 +0200 From: Linus Walleij To: Grant Likely , , Cc: Lee Jones , Linus Walleij , zeal , Daniel Silverstone , Ben Dooks Subject: [PATCH 04/19] mach-ks8695: move GPIO driver to GPIO subsystem Date: Wed, 10 Aug 2011 14:16:49 +0200 Message-ID: <1312978609-18202-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.3.2 MIME-Version: 1.0 From: Linus Walleij As per example from the other ARM boards, push the KS8695 GPIO driver down to the GPIO subsystem so it can be consolidated. Cc: zeal Cc: Daniel Silverstone Cc: Ben Dooks Signed-off-by: Linus Walleij --- arch/arm/mach-ks8695/Makefile | 2 +- drivers/gpio/Makefile | 1 + .../gpio.c => drivers/gpio/gpio-ks8695.c | 0 3 files changed, 2 insertions(+), 1 deletions(-) rename arch/arm/mach-ks8695/gpio.c => drivers/gpio/gpio-ks8695.c (100%) diff --git a/arch/arm/mach-ks8695/gpio.c b/drivers/gpio/gpio-ks8695.c similarity index 100% rename from arch/arm/mach-ks8695/gpio.c rename to drivers/gpio/gpio-ks8695.c diff --git a/arch/arm/mach-ks8695/Makefile b/arch/arm/mach-ks8695/Makefile index 7e3e816..853efd9 100644 --- a/arch/arm/mach-ks8695/Makefile +++ b/arch/arm/mach-ks8695/Makefile @@ -3,7 +3,7 @@ # Makefile for KS8695 architecture support # -obj-y := cpu.o irq.o time.o gpio.o devices.o +obj-y := cpu.o irq.o time.o devices.o obj-m := obj-n := obj- := diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index 9588948..27295cb 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile @@ -18,6 +18,7 @@ obj-$(CONFIG_GPIO_EP93XX) += gpio-ep93xx.o obj-$(CONFIG_GPIO_EXYNOS4) += gpio-exynos4.o obj-$(CONFIG_GPIO_IT8761E) += gpio-it8761e.o obj-$(CONFIG_GPIO_JANZ_TTL) += gpio-janz-ttl.o +obj-$(CONFIG_MACH_KS8695) += gpio-ks8695.o obj-$(CONFIG_GPIO_LANGWELL) += gpio-langwell.o obj-$(CONFIG_GPIO_MAX730X) += gpio-max730x.o obj-$(CONFIG_GPIO_MAX7300) += gpio-max7300.o