From patchwork Wed Aug 10 12:18:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 3359 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 AEE8523F46 for ; Wed, 10 Aug 2011 12:18:37 +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 7E3A9A1834E for ; Wed, 10 Aug 2011 12:18:37 +0000 (UTC) Received: by mail-qw0-f52.google.com with SMTP id 8so746446qwb.11 for ; Wed, 10 Aug 2011 05:18:37 -0700 (PDT) Received: by 10.229.42.10 with SMTP id q10mr3453937qce.45.1312978717215; Wed, 10 Aug 2011 05:18:37 -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 dh7cs78513qcb; Wed, 10 Aug 2011 05:18:36 -0700 (PDT) Received: from mr.google.com ([10.14.187.130]) by 10.14.187.130 with SMTP id y2mr3392403eem.60.1312978716823 (num_hops = 1); Wed, 10 Aug 2011 05:18:36 -0700 (PDT) Received: by 10.14.187.130 with SMTP id y2mr2493488eem.60.1312978716164; Wed, 10 Aug 2011 05:18:36 -0700 (PDT) Received: from eu1sys200aog115.obsmtp.com (eu1sys200aog115.obsmtp.com [207.126.144.139]) by mx.google.com with SMTP id s4si597362ees.188.2011.08.10.05.18.30 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Aug 2011 05:18:36 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.139 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.139; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.139 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 eu1sys200aob115.postini.com ([207.126.147.11]) with SMTP ID DSNKTkJ3Fi6Ek7EcBJXuc3Byhrd2HNqgFpx3@postini.com; Wed, 10 Aug 2011 12:18:36 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 1CACF4D; Wed, 10 Aug 2011 12:18:29 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id B32876D; Wed, 10 Aug 2011 12:18:28 +0000 (GMT) Received: from exdcvycastm022.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm022", Issuer "exdcvycastm022" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id BC3EA24C075; Wed, 10 Aug 2011 14:18:21 +0200 (CEST) Received: from localhost.localdomain (10.230.100.153) by smtp.stericsson.com (10.230.100.30) with Microsoft SMTP Server (TLS) id 8.3.83.0; Wed, 10 Aug 2011 14:18:28 +0200 From: Linus Walleij To: Grant Likely , , Cc: Lee Jones , Linus Walleij , Vitaly Wool Subject: [PATCH 16/19] mach-pnx4008: move PNX4008 GPIO driver to GPIO subsystem Date: Wed, 10 Aug 2011 14:18:25 +0200 Message-ID: <1312978705-18605-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 PNX4008 GPIO driver down to the GPIO subsystem so it can be consolidated. Cc: Vitaly Wool Signed-off-by: Linus Walleij --- arch/arm/mach-pnx4008/Makefile | 2 +- drivers/gpio/Makefile | 1 + .../gpio.c => drivers/gpio/gpio-pnx4008.c | 0 3 files changed, 2 insertions(+), 1 deletions(-) rename arch/arm/mach-pnx4008/gpio.c => drivers/gpio/gpio-pnx4008.c (100%) diff --git a/arch/arm/mach-pnx4008/gpio.c b/drivers/gpio/gpio-pnx4008.c similarity index 100% rename from arch/arm/mach-pnx4008/gpio.c rename to drivers/gpio/gpio-pnx4008.c diff --git a/arch/arm/mach-pnx4008/Makefile b/arch/arm/mach-pnx4008/Makefile index 777564c..5e2e211 100644 --- a/arch/arm/mach-pnx4008/Makefile +++ b/arch/arm/mach-pnx4008/Makefile @@ -2,7 +2,7 @@ # Makefile for the linux kernel. # -obj-y := core.o irq.o time.o clock.o gpio.o serial.o dma.o i2c.o +obj-y := core.o irq.o time.o clock.o serial.o dma.o i2c.o obj-m := obj-n := obj- := diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index 6640e1d..7f846bf 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile @@ -40,6 +40,7 @@ obj-$(CONFIG_GPIO_PCA953X) += gpio-pca953x.o obj-$(CONFIG_GPIO_PCF857X) += gpio-pcf857x.o obj-$(CONFIG_GPIO_PCH) += gpio-pch.o obj-$(CONFIG_GPIO_PL061) += gpio-pl061.o +obj-$(CONFIG_ARCH_PNX4008) += gpio-pnx4008.o obj-$(CONFIG_PLAT_PXA) += gpio-pxa.o obj-$(CONFIG_GPIO_RDC321X) += gpio-rdc321x.o