From patchwork Thu Aug 6 18:20:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11703917 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 45C2A14E3 for ; Thu, 6 Aug 2020 18:32:38 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 75B38221E3 for ; Thu, 6 Aug 2020 18:32:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="yo8d0pXy"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="jLMMNBtc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 75B38221E3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Wq7GIqlrF4bwG7x2HvzhSK2TDSbxqPw1QXY66qAeylY=; b=yo8d0pXyahK67pdsp7JaJZVzuV J6+xPuOFpxV7d0PzTJoiQKJsER3bYMDQ5OWEfbBHsPhORoQZF5WTVYAaQrzJY2qmlSI99FRcQ7PTn ma0emzc9UDdnCL307rEUPMPWB3/TuylAB27b6oHq6CANCnU65nyJDwGr4BWB7j1TKoDa0ohxmRsA8 29eI8BwVyZIH+FCzwQNWc87EDT9YTE/VCE4gjlQHATt97XNMbgrK/XWXO9t387N/UaXnYKlQWVF11 GJ1xNgCMYiKN7X22BI1bq2t12d8doxvG/RJtPkPLoNHdY4B2tiaj65fOlCqnSLlwLH9qF0usnIQaw uUOdNm9A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k3kea-0000T5-DN; Thu, 06 Aug 2020 18:30:12 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k3kZs-0001fU-Fh for linux-arm-kernel@lists.infradead.org; Thu, 06 Aug 2020 18:25:26 +0000 Received: from localhost.localdomain (unknown [194.230.155.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DE1A722EBF; Thu, 6 Aug 2020 18:25:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596738319; bh=iF89LuB35lab+Fgz3M0fESxE9Y2D3dP+g652YftWM9M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jLMMNBtcjlQUu+qrFbd5HwxRu/Ma+cxLpZu2r+7G0CYq8eYF03AqbrWnPiOMt0mde Glv5RdRfVAyBZt83Q4QzanwDMWCONO4DdKTY6t6JuHXUo572svRgFVRFIY0uPYLTii gqsFRnGeylIMRVATrQSgQuI6HvBndNKk65sSNMu4= From: Krzysztof Kozlowski To: linux-kernel@vger.kernel.org Subject: [PATCH v2 40/41] ARM: s3c: make headers local if possible Date: Thu, 6 Aug 2020 20:20:57 +0200 Message-Id: <20200806182059.2431-40-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200806181932.2253-1-krzk@kernel.org> References: <20200806181932.2253-1-krzk@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200806_142521_127262_01958F94 X-CRM114-Status: GOOD ( 18.17 ) X-Spam-Score: -1.6 (-) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-1.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [198.145.29.99 listed in list.dnswl.org] 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [194.230.155.117 listed in zen.spamhaus.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, Alexandre Torgue , Arnd Bergmann , patches@opensource.cirrus.com, Russell King , Krzysztof Kozlowski , linux-stm32@st-md-mailman.stormreply.com, Kukjin Kim , Maxime Coquelin , Simtec Linux Team , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Arnd Bergmann A lot of header files are only used internally now, so they can be moved to mach-s3c, out of the visibility of drivers. Signed-off-by: Arnd Bergmann Signed-off-by: Krzysztof Kozlowski --- .../mach-s3c/{include/plat => }/adc-core.h | 0 arch/arm/mach-s3c/adc.c | 2 +- arch/arm/mach-s3c/bast-ide.c | 2 +- arch/arm/mach-s3c/bast-irq.c | 2 +- arch/arm/mach-s3c/common-smdk-s3c24xx.c | 10 +++---- arch/arm/mach-s3c/cpu.c | 4 +-- arch/arm/mach-s3c/{include/plat => }/cpu.h | 0 arch/arm/mach-s3c/cpufreq-utils-s3c24xx.c | 4 +-- arch/arm/mach-s3c/cpuidle-s3c64xx.c | 4 +-- arch/arm/mach-s3c/crag6410.h | 2 +- arch/arm/mach-s3c/dev-audio-s3c64xx.c | 8 +++--- arch/arm/mach-s3c/dev-backlight-s3c64xx.c | 4 +-- arch/arm/mach-s3c/dev-uart-s3c64xx.c | 4 +-- arch/arm/mach-s3c/dev-uart.c | 2 +- arch/arm/mach-s3c/devs.c | 22 ++++++++-------- arch/arm/mach-s3c/{include/plat => }/devs.h | 0 .../mach-s3c/{include/mach => }/dma-s3c24xx.h | 0 .../mach-s3c/{include/mach => }/dma-s3c64xx.h | 0 arch/arm/mach-s3c/{include/mach => }/dma.h | 0 arch/arm/mach-s3c/{include/plat => }/fb.h | 0 .../{include/plat => }/gpio-cfg-helpers.h | 0 .../mach-s3c/{include/plat => }/gpio-cfg.h | 0 .../mach-s3c/{include/plat => }/gpio-core.h | 2 +- .../{include/mach => }/gpio-samsung-s3c24xx.h | 2 +- .../{include/mach => }/gpio-samsung-s3c64xx.h | 0 arch/arm/mach-s3c/gpio-samsung.c | 18 ++++++------- .../{include/mach => }/gpio-samsung.h | 0 arch/arm/mach-s3c/gta02.h | 2 +- arch/arm/mach-s3c/h1940-bluetooth.c | 6 ++--- .../{include/mach => }/hardware-s3c24xx.h | 0 .../mach-s3c/{include/plat => }/iic-core.h | 0 arch/arm/mach-s3c/include/mach/io-s3c24xx.h | 2 +- .../include/{plat => mach}/map-base.h | 0 arch/arm/mach-s3c/init.c | 4 +-- arch/arm/mach-s3c/iotiming-s3c2410.c | 4 +-- arch/arm/mach-s3c/iotiming-s3c2412.c | 4 +-- arch/arm/mach-s3c/irq-pm-s3c24xx.c | 16 ++++++------ arch/arm/mach-s3c/irq-pm-s3c64xx.c | 8 +++--- arch/arm/mach-s3c/irq-s3c24xx-fiq.S | 4 +-- arch/arm/mach-s3c/irq-s3c24xx.c | 10 +++---- arch/arm/mach-s3c/{include/plat => }/keypad.h | 0 arch/arm/mach-s3c/mach-amlm5900.c | 10 +++---- arch/arm/mach-s3c/mach-anubis.c | 8 +++--- arch/arm/mach-s3c/mach-anw6410.c | 12 ++++----- arch/arm/mach-s3c/mach-at2440evb.c | 8 +++--- arch/arm/mach-s3c/mach-bast.c | 10 +++---- arch/arm/mach-s3c/mach-crag6410-module.c | 2 +- arch/arm/mach-s3c/mach-crag6410.c | 20 +++++++------- arch/arm/mach-s3c/mach-gta02.c | 16 ++++++------ arch/arm/mach-s3c/mach-h1940.c | 20 +++++++------- arch/arm/mach-s3c/mach-hmt.c | 10 +++---- arch/arm/mach-s3c/mach-jive.c | 14 +++++----- arch/arm/mach-s3c/mach-mini2440.c | 10 +++---- arch/arm/mach-s3c/mach-mini6410.c | 14 +++++----- arch/arm/mach-s3c/mach-n30.c | 13 +++++----- arch/arm/mach-s3c/mach-ncp.c | 8 +++--- arch/arm/mach-s3c/mach-nexcoder.c | 10 +++---- arch/arm/mach-s3c/mach-osiris-dvs.c | 2 +- arch/arm/mach-s3c/mach-osiris.c | 10 +++---- arch/arm/mach-s3c/mach-otom.c | 9 +++---- arch/arm/mach-s3c/mach-qt2410.c | 10 +++---- arch/arm/mach-s3c/mach-real6410.c | 12 ++++----- arch/arm/mach-s3c/mach-rx1950.c | 16 ++++++------ arch/arm/mach-s3c/mach-rx3715.c | 12 ++++----- arch/arm/mach-s3c/mach-s3c2416-dt.c | 6 ++--- arch/arm/mach-s3c/mach-s3c64xx-dt.c | 4 +-- arch/arm/mach-s3c/mach-smartq.c | 14 +++++----- arch/arm/mach-s3c/mach-smartq5.c | 16 ++++++------ arch/arm/mach-s3c/mach-smartq7.c | 16 ++++++------ arch/arm/mach-s3c/mach-smdk2410.c | 8 +++--- arch/arm/mach-s3c/mach-smdk2413.c | 12 ++++----- arch/arm/mach-s3c/mach-smdk2416.c | 18 ++++++------- arch/arm/mach-s3c/mach-smdk2440.c | 10 +++---- arch/arm/mach-s3c/mach-smdk2443.c | 6 ++--- arch/arm/mach-s3c/mach-smdk6400.c | 8 +++--- arch/arm/mach-s3c/mach-smdk6410.c | 16 ++++++------ arch/arm/mach-s3c/mach-tct_hammer.c | 4 +-- arch/arm/mach-s3c/mach-vr1000.c | 10 +++---- arch/arm/mach-s3c/mach-vstms.c | 10 +++---- .../arm/mach-s3c/{include/plat => }/map-s3c.h | 4 +-- .../mach-s3c/{include/mach => }/map-s3c24xx.h | 4 +-- .../mach-s3c/{include/mach => }/map-s3c64xx.h | 4 +-- .../arm/mach-s3c/{include/plat => }/map-s5p.h | 2 +- arch/arm/mach-s3c/{include/mach => }/map.h | 0 arch/arm/mach-s3c/pl080.c | 4 +-- arch/arm/mach-s3c/platformdata.c | 4 +-- arch/arm/mach-s3c/pm-common.c | 2 +- .../mach-s3c/{include/plat => }/pm-common.h | 0 .../{include/mach => }/pm-core-s3c24xx.h | 0 .../{include/mach => }/pm-core-s3c64xx.h | 6 ++--- .../arm/mach-s3c/{include/mach => }/pm-core.h | 0 arch/arm/mach-s3c/pm-gpio.c | 6 ++--- arch/arm/mach-s3c/pm-h1940.S | 4 +-- arch/arm/mach-s3c/pm-s3c2410.c | 10 +++---- arch/arm/mach-s3c/pm-s3c2412.c | 8 +++--- arch/arm/mach-s3c/pm-s3c2416.c | 6 ++--- arch/arm/mach-s3c/pm-s3c24xx.c | 12 ++++----- arch/arm/mach-s3c/pm-s3c64xx.c | 16 ++++++------ arch/arm/mach-s3c/pm.c | 12 ++++----- arch/arm/mach-s3c/{include/plat => }/pm.h | 2 +- .../mach-s3c/{include/plat => }/pwm-core.h | 0 .../mach-s3c/{include/plat => }/regs-adc.h | 0 .../{include/mach => }/regs-clock-s3c24xx.h | 2 +- .../{include/mach => }/regs-clock-s3c64xx.h | 0 .../mach-s3c/{include/mach => }/regs-clock.h | 0 .../{include/mach => }/regs-gpio-s3c24xx.h | 2 +- .../{include/mach => }/regs-gpio-s3c64xx.h | 0 .../mach-s3c/{include/mach => }/regs-gpio.h | 0 .../{include/mach => }/regs-irq-s3c24xx.h | 2 +- .../{include/mach => }/regs-irq-s3c64xx.h | 0 .../mach-s3c/{include/mach => }/regs-irq.h | 0 .../{include/plat => }/regs-irqtype.h | 0 arch/arm/mach-s3c/regs-mem-s3c24xx.h | 2 +- .../{include/mach => }/regs-s3c2443-clock.h | 2 +- .../{include/mach => }/rtc-core-s3c24xx.h | 0 arch/arm/mach-s3c/s3c2410.c | 18 ++++++------- arch/arm/mach-s3c/s3c2412.c | 12 ++++----- .../arm/mach-s3c/{include/mach => }/s3c2412.h | 2 +- arch/arm/mach-s3c/s3c2416.c | 26 +++++++++---------- arch/arm/mach-s3c/s3c2440.c | 14 +++++----- arch/arm/mach-s3c/s3c2442.c | 14 +++++----- arch/arm/mach-s3c/s3c2443.c | 20 +++++++------- arch/arm/mach-s3c/s3c244x.c | 12 ++++----- arch/arm/mach-s3c/s3c24xx.c | 16 ++++++------ arch/arm/mach-s3c/s3c6400.c | 10 +++---- arch/arm/mach-s3c/s3c6410.c | 12 ++++----- arch/arm/mach-s3c/s3c64xx.c | 21 +++++++-------- arch/arm/mach-s3c/{include/plat => }/sdhci.h | 2 +- arch/arm/mach-s3c/setup-camif-s3c24xx.c | 4 +-- arch/arm/mach-s3c/setup-fb-24bpp-s3c64xx.c | 6 ++--- arch/arm/mach-s3c/setup-i2c-s3c24xx.c | 7 ++--- arch/arm/mach-s3c/setup-i2c0-s3c64xx.c | 4 +-- arch/arm/mach-s3c/setup-i2c1-s3c64xx.c | 4 +-- arch/arm/mach-s3c/setup-ide-s3c64xx.c | 9 ++++--- arch/arm/mach-s3c/setup-keypad-s3c64xx.c | 6 ++--- arch/arm/mach-s3c/setup-sdhci-gpio-s3c24xx.c | 8 +++--- arch/arm/mach-s3c/setup-sdhci-gpio-s3c64xx.c | 6 ++--- arch/arm/mach-s3c/setup-spi-s3c24xx.c | 6 ++--- arch/arm/mach-s3c/setup-spi-s3c64xx.c | 4 +-- arch/arm/mach-s3c/setup-ts-s3c24xx.c | 4 +-- arch/arm/mach-s3c/setup-usb-phy-s3c64xx.c | 6 ++--- arch/arm/mach-s3c/simtec-audio.c | 8 +++--- arch/arm/mach-s3c/simtec-nor.c | 2 +- arch/arm/mach-s3c/simtec-pm.c | 6 ++--- arch/arm/mach-s3c/simtec-usb.c | 4 +-- arch/arm/mach-s3c/sleep-s3c2410.S | 6 ++--- arch/arm/mach-s3c/sleep-s3c2412.S | 4 +-- arch/arm/mach-s3c/sleep-s3c24xx.S | 6 ++--- arch/arm/mach-s3c/sleep-s3c64xx.S | 4 +-- .../arm/mach-s3c/{include/plat => }/usb-phy.h | 0 arch/arm/mach-s3c/wakeup-mask.c | 4 +-- .../mach-s3c/{include/plat => }/wakeup-mask.h | 0 152 files changed, 489 insertions(+), 490 deletions(-) rename arch/arm/mach-s3c/{include/plat => }/adc-core.h (100%) rename arch/arm/mach-s3c/{include/plat => }/cpu.h (100%) rename arch/arm/mach-s3c/{include/plat => }/devs.h (100%) rename arch/arm/mach-s3c/{include/mach => }/dma-s3c24xx.h (100%) rename arch/arm/mach-s3c/{include/mach => }/dma-s3c64xx.h (100%) rename arch/arm/mach-s3c/{include/mach => }/dma.h (100%) rename arch/arm/mach-s3c/{include/plat => }/fb.h (100%) rename arch/arm/mach-s3c/{include/plat => }/gpio-cfg-helpers.h (100%) rename arch/arm/mach-s3c/{include/plat => }/gpio-cfg.h (100%) rename arch/arm/mach-s3c/{include/plat => }/gpio-core.h (99%) rename arch/arm/mach-s3c/{include/mach => }/gpio-samsung-s3c24xx.h (99%) rename arch/arm/mach-s3c/{include/mach => }/gpio-samsung-s3c64xx.h (100%) rename arch/arm/mach-s3c/{include/mach => }/gpio-samsung.h (100%) rename arch/arm/mach-s3c/{include/mach => }/hardware-s3c24xx.h (100%) rename arch/arm/mach-s3c/{include/plat => }/iic-core.h (100%) rename arch/arm/mach-s3c/include/{plat => mach}/map-base.h (100%) rename arch/arm/mach-s3c/{include/plat => }/keypad.h (100%) rename arch/arm/mach-s3c/{include/plat => }/map-s3c.h (97%) rename arch/arm/mach-s3c/{include/mach => }/map-s3c24xx.h (98%) rename arch/arm/mach-s3c/{include/mach => }/map-s3c64xx.h (98%) rename arch/arm/mach-s3c/{include/plat => }/map-s5p.h (94%) rename arch/arm/mach-s3c/{include/mach => }/map.h (100%) rename arch/arm/mach-s3c/{include/plat => }/pm-common.h (100%) rename arch/arm/mach-s3c/{include/mach => }/pm-core-s3c24xx.h (100%) rename arch/arm/mach-s3c/{include/mach => }/pm-core-s3c64xx.h (96%) rename arch/arm/mach-s3c/{include/mach => }/pm-core.h (100%) rename arch/arm/mach-s3c/{include/plat => }/pm.h (98%) rename arch/arm/mach-s3c/{include/plat => }/pwm-core.h (100%) rename arch/arm/mach-s3c/{include/plat => }/regs-adc.h (100%) rename arch/arm/mach-s3c/{include/mach => }/regs-clock-s3c24xx.h (99%) rename arch/arm/mach-s3c/{include/mach => }/regs-clock-s3c64xx.h (100%) rename arch/arm/mach-s3c/{include/mach => }/regs-clock.h (100%) rename arch/arm/mach-s3c/{include/mach => }/regs-gpio-s3c24xx.h (99%) rename arch/arm/mach-s3c/{include/mach => }/regs-gpio-s3c64xx.h (100%) rename arch/arm/mach-s3c/{include/mach => }/regs-gpio.h (100%) rename arch/arm/mach-s3c/{include/mach => }/regs-irq-s3c24xx.h (98%) rename arch/arm/mach-s3c/{include/mach => }/regs-irq-s3c64xx.h (100%) rename arch/arm/mach-s3c/{include/mach => }/regs-irq.h (100%) rename arch/arm/mach-s3c/{include/plat => }/regs-irqtype.h (100%) rename arch/arm/mach-s3c/{include/mach => }/regs-s3c2443-clock.h (99%) rename arch/arm/mach-s3c/{include/mach => }/rtc-core-s3c24xx.h (100%) rename arch/arm/mach-s3c/{include/mach => }/s3c2412.h (96%) rename arch/arm/mach-s3c/{include/plat => }/sdhci.h (99%) rename arch/arm/mach-s3c/{include/plat => }/usb-phy.h (100%) rename arch/arm/mach-s3c/{include/plat => }/wakeup-mask.h (100%) diff --git a/arch/arm/mach-s3c/include/plat/adc-core.h b/arch/arm/mach-s3c/adc-core.h similarity index 100% rename from arch/arm/mach-s3c/include/plat/adc-core.h rename to arch/arm/mach-s3c/adc-core.h diff --git a/arch/arm/mach-s3c/adc.c b/arch/arm/mach-s3c/adc.c index e35e04417cce..0232520d3c13 100644 --- a/arch/arm/mach-s3c/adc.c +++ b/arch/arm/mach-s3c/adc.c @@ -19,7 +19,7 @@ #include #include -#include +#include "regs-adc.h" #include /* This driver is designed to control the usage of the ADC block between diff --git a/arch/arm/mach-s3c/bast-ide.c b/arch/arm/mach-s3c/bast-ide.c index ee6fbb407640..da64db1811d8 100644 --- a/arch/arm/mach-s3c/bast-ide.c +++ b/arch/arm/mach-s3c/bast-ide.c @@ -19,7 +19,7 @@ #include #include -#include +#include "map.h" #include #include "bast.h" diff --git a/arch/arm/mach-s3c/bast-irq.c b/arch/arm/mach-s3c/bast-irq.c index 141a35d58dd7..d299f124e6dc 100644 --- a/arch/arm/mach-s3c/bast-irq.c +++ b/arch/arm/mach-s3c/bast-irq.c @@ -15,7 +15,7 @@ #include #include -#include +#include "regs-irq.h" #include #include "bast.h" diff --git a/arch/arm/mach-s3c/common-smdk-s3c24xx.c b/arch/arm/mach-s3c/common-smdk-s3c24xx.c index e3281dc3af13..353bc22ce448 100644 --- a/arch/arm/mach-s3c/common-smdk-s3c24xx.c +++ b/arch/arm/mach-s3c/common-smdk-s3c24xx.c @@ -31,14 +31,14 @@ #include #include -#include -#include +#include "regs-gpio.h" +#include "gpio-samsung.h" #include #include -#include -#include -#include +#include "gpio-cfg.h" +#include "devs.h" +#include "pm.h" #include "common-smdk-s3c24xx.h" diff --git a/arch/arm/mach-s3c/cpu.c b/arch/arm/mach-s3c/cpu.c index 8acba21bbf4b..6e9772555f0d 100644 --- a/arch/arm/mach-s3c/cpu.c +++ b/arch/arm/mach-s3c/cpu.c @@ -10,8 +10,8 @@ #include #include -#include -#include +#include +#include "cpu.h" unsigned long samsung_cpu_id; diff --git a/arch/arm/mach-s3c/include/plat/cpu.h b/arch/arm/mach-s3c/cpu.h similarity index 100% rename from arch/arm/mach-s3c/include/plat/cpu.h rename to arch/arm/mach-s3c/cpu.h diff --git a/arch/arm/mach-s3c/cpufreq-utils-s3c24xx.c b/arch/arm/mach-s3c/cpufreq-utils-s3c24xx.c index 17b70d635236..c1784d8facdf 100644 --- a/arch/arm/mach-s3c/cpufreq-utils-s3c24xx.c +++ b/arch/arm/mach-s3c/cpufreq-utils-s3c24xx.c @@ -12,8 +12,8 @@ #include #include -#include -#include +#include "map.h" +#include "regs-clock.h" #include diff --git a/arch/arm/mach-s3c/cpuidle-s3c64xx.c b/arch/arm/mach-s3c/cpuidle-s3c64xx.c index a629f4d2fa3b..b1c5f43d4922 100644 --- a/arch/arm/mach-s3c/cpuidle-s3c64xx.c +++ b/arch/arm/mach-s3c/cpuidle-s3c64xx.c @@ -13,8 +13,8 @@ #include -#include -#include +#include "cpu.h" +#include "map.h" #include "regs-sys-s3c64xx.h" #include "regs-syscon-power-s3c64xx.h" diff --git a/arch/arm/mach-s3c/crag6410.h b/arch/arm/mach-s3c/crag6410.h index 00d9aa114aa7..f39ea2ca7a75 100644 --- a/arch/arm/mach-s3c/crag6410.h +++ b/arch/arm/mach-s3c/crag6410.h @@ -8,7 +8,7 @@ #ifndef MACH_CRAG6410_H #define MACH_CRAG6410_H -#include +#include "gpio-samsung.h" #define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START #define BANFF_PMIC_IRQ_BASE (IRQ_BOARD_START + 64) diff --git a/arch/arm/mach-s3c/dev-audio-s3c64xx.c b/arch/arm/mach-s3c/dev-audio-s3c64xx.c index 1d3124db6afc..fc2f077afd24 100644 --- a/arch/arm/mach-s3c/dev-audio-s3c64xx.c +++ b/arch/arm/mach-s3c/dev-audio-s3c64xx.c @@ -11,12 +11,12 @@ #include #include -#include +#include "map.h" -#include +#include "devs.h" #include -#include -#include +#include "gpio-cfg.h" +#include "gpio-samsung.h" static int s3c64xx_i2s_cfg_gpio(struct platform_device *pdev) { diff --git a/arch/arm/mach-s3c/dev-backlight-s3c64xx.c b/arch/arm/mach-s3c/dev-backlight-s3c64xx.c index 53bf14f5467f..65488b61e50c 100644 --- a/arch/arm/mach-s3c/dev-backlight-s3c64xx.c +++ b/arch/arm/mach-s3c/dev-backlight-s3c64xx.c @@ -11,8 +11,8 @@ #include #include -#include -#include +#include "devs.h" +#include "gpio-cfg.h" #include "backlight-s3c64xx.h" diff --git a/arch/arm/mach-s3c/dev-uart-s3c64xx.c b/arch/arm/mach-s3c/dev-uart-s3c64xx.c index 021a2b7926fa..8288e8d6c092 100644 --- a/arch/arm/mach-s3c/dev-uart-s3c64xx.c +++ b/arch/arm/mach-s3c/dev-uart-s3c64xx.c @@ -15,10 +15,10 @@ #include #include -#include +#include "map.h" #include -#include +#include "devs.h" /* Serial port registrations */ diff --git a/arch/arm/mach-s3c/dev-uart.c b/arch/arm/mach-s3c/dev-uart.c index 7476a5dbae77..3d1f7f2fd7c7 100644 --- a/arch/arm/mach-s3c/dev-uart.c +++ b/arch/arm/mach-s3c/dev-uart.c @@ -10,7 +10,7 @@ #include #include -#include +#include "devs.h" /* uart devices */ diff --git a/arch/arm/mach-s3c/devs.c b/arch/arm/mach-s3c/devs.c index e23204132b27..06dec64848f9 100644 --- a/arch/arm/mach-s3c/devs.c +++ b/arch/arm/mach-s3c/devs.c @@ -39,31 +39,31 @@ #include #include -#include -#include +#include "map.h" +#include "gpio-samsung.h" +#include "gpio-cfg.h" #ifdef CONFIG_PLAT_S3C24XX -#include +#include "regs-s3c2443-clock.h" #endif /* CONFIG_PLAT_S3C24XX */ -#include -#include -#include +#include "cpu.h" +#include "devs.h" #include #include -#include +#include "fb.h" #include #include #include -#include +#include "keypad.h" #include #include -#include -#include +#include "pwm-core.h" +#include "sdhci.h" #include #include #include -#include +#include "usb-phy.h" #include #include diff --git a/arch/arm/mach-s3c/include/plat/devs.h b/arch/arm/mach-s3c/devs.h similarity index 100% rename from arch/arm/mach-s3c/include/plat/devs.h rename to arch/arm/mach-s3c/devs.h diff --git a/arch/arm/mach-s3c/include/mach/dma-s3c24xx.h b/arch/arm/mach-s3c/dma-s3c24xx.h similarity index 100% rename from arch/arm/mach-s3c/include/mach/dma-s3c24xx.h rename to arch/arm/mach-s3c/dma-s3c24xx.h diff --git a/arch/arm/mach-s3c/include/mach/dma-s3c64xx.h b/arch/arm/mach-s3c/dma-s3c64xx.h similarity index 100% rename from arch/arm/mach-s3c/include/mach/dma-s3c64xx.h rename to arch/arm/mach-s3c/dma-s3c64xx.h diff --git a/arch/arm/mach-s3c/include/mach/dma.h b/arch/arm/mach-s3c/dma.h similarity index 100% rename from arch/arm/mach-s3c/include/mach/dma.h rename to arch/arm/mach-s3c/dma.h diff --git a/arch/arm/mach-s3c/include/plat/fb.h b/arch/arm/mach-s3c/fb.h similarity index 100% rename from arch/arm/mach-s3c/include/plat/fb.h rename to arch/arm/mach-s3c/fb.h diff --git a/arch/arm/mach-s3c/include/plat/gpio-cfg-helpers.h b/arch/arm/mach-s3c/gpio-cfg-helpers.h similarity index 100% rename from arch/arm/mach-s3c/include/plat/gpio-cfg-helpers.h rename to arch/arm/mach-s3c/gpio-cfg-helpers.h diff --git a/arch/arm/mach-s3c/include/plat/gpio-cfg.h b/arch/arm/mach-s3c/gpio-cfg.h similarity index 100% rename from arch/arm/mach-s3c/include/plat/gpio-cfg.h rename to arch/arm/mach-s3c/gpio-cfg.h diff --git a/arch/arm/mach-s3c/include/plat/gpio-core.h b/arch/arm/mach-s3c/gpio-core.h similarity index 99% rename from arch/arm/mach-s3c/include/plat/gpio-core.h rename to arch/arm/mach-s3c/gpio-core.h index c0bfceb88340..b361c8c0d669 100644 --- a/arch/arm/mach-s3c/include/plat/gpio-core.h +++ b/arch/arm/mach-s3c/gpio-core.h @@ -11,7 +11,7 @@ #define __PLAT_SAMSUNG_GPIO_CORE_H /* Bring in machine-local definitions, especially S3C_GPIO_END */ -#include +#include "gpio-samsung.h" #include #define GPIOCON_OFF (0x00) diff --git a/arch/arm/mach-s3c/include/mach/gpio-samsung-s3c24xx.h b/arch/arm/mach-s3c/gpio-samsung-s3c24xx.h similarity index 99% rename from arch/arm/mach-s3c/include/mach/gpio-samsung-s3c24xx.h rename to arch/arm/mach-s3c/gpio-samsung-s3c24xx.h index f8a114891f16..c29fdc95f883 100644 --- a/arch/arm/mach-s3c/include/mach/gpio-samsung-s3c24xx.h +++ b/arch/arm/mach-s3c/gpio-samsung-s3c24xx.h @@ -14,7 +14,7 @@ #ifndef GPIO_SAMSUNG_S3C24XX_H #define GPIO_SAMSUNG_S3C24XX_H -#include +#include "map.h" /* * GPIO sizes for various SoCs: diff --git a/arch/arm/mach-s3c/include/mach/gpio-samsung-s3c64xx.h b/arch/arm/mach-s3c/gpio-samsung-s3c64xx.h similarity index 100% rename from arch/arm/mach-s3c/include/mach/gpio-samsung-s3c64xx.h rename to arch/arm/mach-s3c/gpio-samsung-s3c64xx.h diff --git a/arch/arm/mach-s3c/gpio-samsung.c b/arch/arm/mach-s3c/gpio-samsung.c index 8955fd675265..76ef415789f2 100644 --- a/arch/arm/mach-s3c/gpio-samsung.c +++ b/arch/arm/mach-s3c/gpio-samsung.c @@ -27,15 +27,15 @@ #include #include -#include -#include -#include - -#include -#include -#include -#include -#include +#include "map.h" +#include "regs-gpio.h" +#include "gpio-samsung.h" + +#include "cpu.h" +#include "gpio-core.h" +#include "gpio-cfg.h" +#include "gpio-cfg-helpers.h" +#include "pm.h" int samsung_gpio_setpull_updown(struct samsung_gpio_chip *chip, unsigned int off, samsung_gpio_pull_t pull) diff --git a/arch/arm/mach-s3c/include/mach/gpio-samsung.h b/arch/arm/mach-s3c/gpio-samsung.h similarity index 100% rename from arch/arm/mach-s3c/include/mach/gpio-samsung.h rename to arch/arm/mach-s3c/gpio-samsung.h diff --git a/arch/arm/mach-s3c/gta02.h b/arch/arm/mach-s3c/gta02.h index d5610ba829a4..043ae382bfc5 100644 --- a/arch/arm/mach-s3c/gta02.h +++ b/arch/arm/mach-s3c/gta02.h @@ -6,7 +6,7 @@ #ifndef __MACH_S3C24XX_GTA02_H #define __MACH_S3C24XX_GTA02_H __FILE__ -#include +#include "regs-gpio.h" #define GTA02_GPIO_AUX_LED S3C2410_GPB(2) #define GTA02_GPIO_USB_PULLUP S3C2410_GPB(9) diff --git a/arch/arm/mach-s3c/h1940-bluetooth.c b/arch/arm/mach-s3c/h1940-bluetooth.c index 8533e7521b50..59edcf8a620d 100644 --- a/arch/arm/mach-s3c/h1940-bluetooth.c +++ b/arch/arm/mach-s3c/h1940-bluetooth.c @@ -13,9 +13,9 @@ #include #include -#include -#include -#include +#include "gpio-cfg.h" +#include "regs-gpio.h" +#include "gpio-samsung.h" #include "h1940.h" diff --git a/arch/arm/mach-s3c/include/mach/hardware-s3c24xx.h b/arch/arm/mach-s3c/hardware-s3c24xx.h similarity index 100% rename from arch/arm/mach-s3c/include/mach/hardware-s3c24xx.h rename to arch/arm/mach-s3c/hardware-s3c24xx.h diff --git a/arch/arm/mach-s3c/include/plat/iic-core.h b/arch/arm/mach-s3c/iic-core.h similarity index 100% rename from arch/arm/mach-s3c/include/plat/iic-core.h rename to arch/arm/mach-s3c/iic-core.h diff --git a/arch/arm/mach-s3c/include/mach/io-s3c24xx.h b/arch/arm/mach-s3c/include/mach/io-s3c24xx.h index 9b78b0a3d486..738b775d3336 100644 --- a/arch/arm/mach-s3c/include/mach/io-s3c24xx.h +++ b/arch/arm/mach-s3c/include/mach/io-s3c24xx.h @@ -10,7 +10,7 @@ #ifndef __ASM_ARM_ARCH_IO_S3C24XX_H #define __ASM_ARM_ARCH_IO_S3C24XX_H -#include +#include /* * ISA style IO, for each machine to sort out mappings for, diff --git a/arch/arm/mach-s3c/include/plat/map-base.h b/arch/arm/mach-s3c/include/mach/map-base.h similarity index 100% rename from arch/arm/mach-s3c/include/plat/map-base.h rename to arch/arm/mach-s3c/include/mach/map-base.h diff --git a/arch/arm/mach-s3c/init.c b/arch/arm/mach-s3c/init.c index e9acf02ef3c3..9d92f03e9bc1 100644 --- a/arch/arm/mach-s3c/init.c +++ b/arch/arm/mach-s3c/init.c @@ -23,8 +23,8 @@ #include #include -#include -#include +#include "cpu.h" +#include "devs.h" static struct cpu_table *cpu; diff --git a/arch/arm/mach-s3c/iotiming-s3c2410.c b/arch/arm/mach-s3c/iotiming-s3c2410.c index d91f26efd07a..28d9f473e24a 100644 --- a/arch/arm/mach-s3c/iotiming-s3c2410.c +++ b/arch/arm/mach-s3c/iotiming-s3c2410.c @@ -14,8 +14,8 @@ #include #include -#include -#include +#include "map.h" +#include "regs-clock.h" #include diff --git a/arch/arm/mach-s3c/iotiming-s3c2412.c b/arch/arm/mach-s3c/iotiming-s3c2412.c index a22b5611697d..003f89c4dc53 100644 --- a/arch/arm/mach-s3c/iotiming-s3c2412.c +++ b/arch/arm/mach-s3c/iotiming-s3c2412.c @@ -23,10 +23,10 @@ #include #include -#include +#include "cpu.h" #include -#include +#include "s3c2412.h" #define print_ns(x) ((x) / 10), ((x) % 10) diff --git a/arch/arm/mach-s3c/irq-pm-s3c24xx.c b/arch/arm/mach-s3c/irq-pm-s3c24xx.c index e0131b16a4af..4d5e28312d91 100644 --- a/arch/arm/mach-s3c/irq-pm-s3c24xx.c +++ b/arch/arm/mach-s3c/irq-pm-s3c24xx.c @@ -13,14 +13,14 @@ #include #include -#include -#include -#include -#include - -#include -#include -#include +#include "cpu.h" +#include "pm.h" +#include +#include "map-s3c.h" + +#include "regs-irq.h" +#include "regs-gpio.h" +#include "pm-core.h" #include diff --git a/arch/arm/mach-s3c/irq-pm-s3c64xx.c b/arch/arm/mach-s3c/irq-pm-s3c64xx.c index 31b221190479..4a1e935bada1 100644 --- a/arch/arm/mach-s3c/irq-pm-s3c64xx.c +++ b/arch/arm/mach-s3c/irq-pm-s3c64xx.c @@ -20,11 +20,11 @@ #include #include -#include +#include "map.h" -#include -#include -#include +#include "regs-gpio.h" +#include "cpu.h" +#include "pm.h" /* We handled all the IRQ types in this code, to save having to make several * small files to handle each different type separately. Having the EINT_GRP diff --git a/arch/arm/mach-s3c/irq-s3c24xx-fiq.S b/arch/arm/mach-s3c/irq-s3c24xx-fiq.S index 2a84535a14fd..b54cbd012241 100644 --- a/arch/arm/mach-s3c/irq-s3c24xx-fiq.S +++ b/arch/arm/mach-s3c/irq-s3c24xx-fiq.S @@ -10,8 +10,8 @@ #include #include -#include -#include +#include "map.h" +#include "regs-irq.h" #include diff --git a/arch/arm/mach-s3c/irq-s3c24xx.c b/arch/arm/mach-s3c/irq-s3c24xx.c index 3965347cacf0..79b5f19af7a5 100644 --- a/arch/arm/mach-s3c/irq-s3c24xx.c +++ b/arch/arm/mach-s3c/irq-s3c24xx.c @@ -26,12 +26,12 @@ #include #include -#include -#include +#include "regs-irq.h" +#include "regs-gpio.h" -#include -#include -#include +#include "cpu.h" +#include "regs-irqtype.h" +#include "pm.h" #define S3C_IRQTYPE_NONE 0 #define S3C_IRQTYPE_EINT 1 diff --git a/arch/arm/mach-s3c/include/plat/keypad.h b/arch/arm/mach-s3c/keypad.h similarity index 100% rename from arch/arm/mach-s3c/include/plat/keypad.h rename to arch/arm/mach-s3c/keypad.h diff --git a/arch/arm/mach-s3c/mach-amlm5900.c b/arch/arm/mach-s3c/mach-amlm5900.c index 724240e1b662..f73a5223663b 100644 --- a/arch/arm/mach-s3c/mach-amlm5900.c +++ b/arch/arm/mach-s3c/mach-amlm5900.c @@ -31,13 +31,13 @@ #include #include -#include -#include +#include "regs-gpio.h" +#include "gpio-samsung.h" #include -#include -#include -#include +#include "devs.h" +#include "cpu.h" +#include "gpio-cfg.h" #include #include diff --git a/arch/arm/mach-s3c/mach-anubis.c b/arch/arm/mach-s3c/mach-anubis.c index 83b2f7fb268e..522bb10e8a19 100644 --- a/arch/arm/mach-s3c/mach-anubis.c +++ b/arch/arm/mach-s3c/mach-anubis.c @@ -27,8 +27,8 @@ #include #include -#include -#include +#include "regs-gpio.h" +#include "gpio-samsung.h" #include #include @@ -39,8 +39,8 @@ #include -#include -#include +#include "devs.h" +#include "cpu.h" #include #include "anubis.h" diff --git a/arch/arm/mach-s3c/mach-anw6410.c b/arch/arm/mach-s3c/mach-anw6410.c index ff183ced8e6e..b4f08e5c9858 100644 --- a/arch/arm/mach-s3c/mach-anw6410.c +++ b/arch/arm/mach-s3c/mach-anw6410.c @@ -30,19 +30,19 @@ #include #include -#include +#include "map.h" #include #include #include -#include +#include "fb.h" -#include -#include +#include "devs.h" +#include "cpu.h" #include -#include -#include +#include "regs-gpio.h" +#include "gpio-samsung.h" #include "s3c64xx.h" #include "regs-modem-s3c64xx.h" diff --git a/arch/arm/mach-s3c/mach-at2440evb.c b/arch/arm/mach-s3c/mach-at2440evb.c index 1ae61ae913d4..13d014bc8371 100644 --- a/arch/arm/mach-s3c/mach-at2440evb.c +++ b/arch/arm/mach-s3c/mach-at2440evb.c @@ -28,8 +28,8 @@ #include #include -#include -#include +#include "regs-gpio.h" +#include "gpio-samsung.h" #include #include @@ -38,8 +38,8 @@ #include #include -#include -#include +#include "devs.h" +#include "cpu.h" #include #include "s3c24xx.h" diff --git a/arch/arm/mach-s3c/mach-bast.c b/arch/arm/mach-s3c/mach-bast.c index f971cbf99d29..1cb2193256e1 100644 --- a/arch/arm/mach-s3c/mach-bast.c +++ b/arch/arm/mach-s3c/mach-bast.c @@ -41,13 +41,13 @@ #include #include -#include -#include +#include "regs-gpio.h" +#include "gpio-samsung.h" -#include +#include "cpu.h" #include -#include -#include +#include "devs.h" +#include "gpio-cfg.h" #include "bast.h" #include "s3c24xx.h" diff --git a/arch/arm/mach-s3c/mach-crag6410-module.c b/arch/arm/mach-s3c/mach-crag6410-module.c index 34f1baa10c54..1e0d442dcdb6 100644 --- a/arch/arm/mach-s3c/mach-crag6410-module.c +++ b/arch/arm/mach-s3c/mach-crag6410-module.c @@ -27,7 +27,7 @@ #include -#include +#include "cpu.h" #include #include "crag6410.h" diff --git a/arch/arm/mach-s3c/mach-crag6410.c b/arch/arm/mach-s3c/mach-crag6410.c index 8e7f637833f2..0bfcb79cc0a6 100644 --- a/arch/arm/mach-s3c/mach-crag6410.c +++ b/arch/arm/mach-s3c/mach-crag6410.c @@ -44,22 +44,22 @@ #include #include