From patchwork Thu Apr 28 09:05:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Lamparter X-Patchwork-Id: 8967061 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 55BFDBF29F for ; Thu, 28 Apr 2016 09:08:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 88AD420221 for ; Thu, 28 Apr 2016 09:08:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A76E2202AE for ; Thu, 28 Apr 2016 09:08:11 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1avhtj-0006cB-C5; Thu, 28 Apr 2016 09:06:11 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1avhtS-0006Sy-0D for linux-arm-kernel@lists.infradead.org; Thu, 28 Apr 2016 09:05:54 +0000 Received: by mail-wm0-x241.google.com with SMTP id n129so11657329wmn.1 for ; Thu, 28 Apr 2016 02:05:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=YZTXCmKfRCVpmOYPmhHXcP0Y+MtN6+AzRw4di1aaoQ4=; b=Rpb0uql/mKJOhSQcGEX3WznE7GToun42P8Ck9u745ztb4PLQBvt4QkJa9g1jxRj0t+ yggMSmHMCtnH3edAuSHMxwXQ78v0LgPx/hUF4VQE3L6khCUhUSAIG0Z709AbDnyBkIe1 /Rf3YG2sOotw7NSlpLFE89LQDLCF+JHqWfUXdAJ+WjAme+ury/EmhzNW2/XrhzENtP0v Mu5HAF+tzUQ6Ab4dplXgU7dUNfeeSyNgJUkLINNpmzLOeJBKpB+LQ54a6ppRAbonGRu4 ADcqXmrlFXtNpJLDpmh6Y8q7B/lqF+r/Lshw0oROG0Eq26fJphogbbSQvNhsAYAnh2On eang== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=YZTXCmKfRCVpmOYPmhHXcP0Y+MtN6+AzRw4di1aaoQ4=; b=KU59udsfQTSbUKsvU/dydxdpkbCcmlFFEMZY2fmnxzcxJP2+ORyFkSOQWw/P01Is6j EMVK3IFoMKYSJMwPY86u7J/s9JJ2cEjPHssuAMQ3LoSF+on1LOxG7qrpsaP6CIKSX1gB TfUJZBY8CTVYlwCVCvxeNb32whr4G6N32c1sXH1ePE8d21UxE/0BW13DMnU1qDn9bXm6 RlPUBeJdvUnKOQ66sY95kRD3WqkB4ZTyhw7VMdNVsB8BfxpEjxatW+AGE5RhE1Uid7cG lPDErOoJ9ngGQp2gt2je9xp6Hn22KIIo1+cAOwRzHdiCuw1y1+OO04+X/hc6Qt4KDAa+ q9uA== X-Gm-Message-State: AOPr4FV6MKzXfIGpsy6oUVjz10GXMYBoqXAtGl10WqbNRrfoLyIqQCdj2pedsMAxWPXUcQ== X-Received: by 10.28.172.132 with SMTP id v126mr14944242wme.28.1461834333227; Thu, 28 Apr 2016 02:05:33 -0700 (PDT) Received: from debian64.daheim (p5B2E6CB2.dip0.t-ipconnect.de. [91.46.108.178]) by smtp.googlemail.com with ESMTPSA id b15sm33706602wmd.1.2016.04.28.02.05.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Apr 2016 02:05:31 -0700 (PDT) Received: from chuck by debian64.daheim with local (Exim 4.87) (envelope-from ) id 1avht4-0001w0-4p; Thu, 28 Apr 2016 11:05:30 +0200 From: Christian Lamparter To: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [RFC v4 2/8] gpio: rename gpio-generic.c into gpio-mmio.c Date: Thu, 28 Apr 2016 11:05:12 +0200 Message-Id: <5d6d06726e8ed05aea6cae0aaa9166b10c408dd0.1461806071.git.chunkeey@googlemail.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160428_020554_213674_0BDF2311 X-CRM114-Status: GOOD ( 10.91 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Alexandre Courbot , =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= , Pawel Moll , Alexander Shiyan , Ian Campbell , Linus Walleij , Rob Herring , Kumar Gala , Christian Lamparter MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch renames the gpio-generic.c into gpio-mmio.c. This is because currently the file only contains code for a memory-mapped GPIO driver. There isn't any support for ioports or other resource type. Signed-off-by: Christian Lamparter --- drivers/gpio/Makefile | 3 +++ drivers/gpio/{gpio-generic.c => gpio-mmio.c} | 0 2 files changed, 3 insertions(+) rename drivers/gpio/{gpio-generic.c => gpio-mmio.c} (100%) diff --git a/drivers/gpio/gpio-generic.c b/drivers/gpio/gpio-mmio.c similarity index 100% rename from drivers/gpio/gpio-generic.c rename to drivers/gpio/gpio-mmio.c diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index 74eb1a7..991598e 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile @@ -12,6 +12,9 @@ obj-$(CONFIG_GPIO_ACPI) += gpiolib-acpi.o # Device drivers. Generally keep list sorted alphabetically obj-$(CONFIG_GPIO_GENERIC) += gpio-generic.o +# directly supported by gpio-generic +gpio-generic-$(CONFIG_GPIO_GENERIC) += gpio-mmio.o + obj-$(CONFIG_GPIO_104_DIO_48E) += gpio-104-dio-48e.o obj-$(CONFIG_GPIO_104_IDIO_16) += gpio-104-idio-16.o obj-$(CONFIG_GPIO_104_IDI_48) += gpio-104-idi-48.o