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: 247499 Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp1742150ilo; Thu, 6 Aug 2020 11:34:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNEqY5UGTI8KyXuA7cX438HmGG2KExd2HKza4CKJEBHVvEZjWbUoKE9lp/XyF/V5V+EhIX X-Received: by 2002:a17:906:d9db:: with SMTP id qk27mr5570115ejb.37.1596738880239; Thu, 06 Aug 2020 11:34:40 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i7si4424141ejo.230.2020.08.06.11.34.38; Thu, 06 Aug 2020 11:34:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jLMMNBtc; arc=fail (signature failed); spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728229AbgHFSeW (ORCPT + 4 others); Thu, 6 Aug 2020 14:34:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728730AbgHFSeH (ORCPT ); Thu, 6 Aug 2020 14:34:07 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7918C0617A2 for ; Thu, 6 Aug 2020 11:34:06 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id k8so10627172wma.2 for ; Thu, 06 Aug 2020 11:34:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:resent-from:resent-date:resent-message-id :resent-to:dkim-signature:from:to:cc:subject:date:message-id :in-reply-to:references; bh=9nPf9IfJ73WyDzHHZCNQSAo9pL317No855VmOYg0zVU=; b=YLbeTFHFbTXrkvJ6uoNMKwEiA2CiPUof4Y9+1hNUq9wV69UXLPjWVQohzh3TFF93hz QGRU1RBzhnK7V4b83StT5+eDAu93DmjhnRiAsb3EbHqm6bvp4k8cMuUHhZLr67Mt30jM nJG7Vyz72PFpZkUwEGskkJd1ua7e7EHq+D3cav3AdUIItBeolbU5uEvIXHefZcrmWU0/ Jgz+Np8Wt3YCwZTj2gCYTjm90uIXYo0Xy2O7udrfRx+223zNlwciaSNO63qRzM5+cSpC TpOjM5iD0y9QxOTF2m5gfMoustDXqWg0RtpO7jI+ySS0rEeRDIdZ9fvgBWgjNuVugRen ZW/w== X-Gm-Message-State: AOAM5314HhbWJjWh1XqdZ9qweyWrsZjQx5PllbBlZY4Uw5+2JCOiEyBU M3sn3iVOInBPAjwKVOMStgrfQ255p50= X-Received: by 2002:a1c:3c82:: with SMTP id j124mr8838747wma.145.1596738842628; Thu, 06 Aug 2020 11:34:02 -0700 (PDT) Received: from kozik-lap ([194.230.155.117]) by smtp.googlemail.com with ESMTPSA id v12sm7333850wri.47.2020.08.06.11.34.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Aug 2020 11:34:02 -0700 (PDT) Received: by 2002:ab3:1105:0:0:0:0:0 with SMTP id j5csp1542866lta; Thu, 6 Aug 2020 11:25:19 -0700 (PDT) X-Received: by 2002:a17:90a:5a01:: with SMTP id b1mr8713980pjd.27.1596738319675; Thu, 06 Aug 2020 11:25:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596738319; cv=none; d=google.com; s=arc-20160816; b=V4EfSzURDPO05nTkW3BfjmDHsC5MPrgYp4NeqQAJEV/OrrYSNUaIRHm3lahOZEx+9I BfaBs2n4ABtoj0c+M0kJGB+0YACg4B0KqU6TQoQOfHnPkpu+qpt3vMNnAd51vbL77ryG 0ZBKjSJmHl34e6AL7tURIeNjvQPhK7xwLHx8/gdbML3Zg4Q/JbgSMrKX929Esy0XC4UW iP0TMWlA0mzjWnMnWSP+o4ullmziunGenjGu4LqTX95SXn0h3HblWx54YmmOZxRctoXb /D71BqgebJK1e+pxtbgumSFRwmRtoDu1z/zJzHCqrMD4ys6UMaOS78IXg1uGR10PVhAG ab/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:delivered-to; bh=9nPf9IfJ73WyDzHHZCNQSAo9pL317No855VmOYg0zVU=; b=T4Pa1zYpRuVQlhEYKxSlwTj1Rb7vKF+mEEoHMOc9pplkDW3pYP8/jTi2BoG+wuZzo5 XFt17iz2Ac8cLCf9mImvQeljgPq3gkiWjL/zJLDVSzNFTv8Q1YdwPN4mDcu4AIKa5MEd +tjUDGN8gNYhZ3ab9GLyQxTtnun8h2fQFD3k3y73gN7yzIeevolncLQPhSY5bIveinfk PpijqqB3VChsMzHPEJsM4gATGK1LOko1vYvZfUMvJ/JdlUpVfZr8MyhQX+XqufU5GEgR cfKYavKz2lpLnwt2aPqvmbdue/hQ6g4VjEjOqcLRF5MLHbvgI73HZ7/sUZgSIceI+J0s HWXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=jLMMNBtc; spf=pass (google.com: domain of krzk@kernel.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=krzk@kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from mail.kernel.org (mail.kernel.org. [198.145.29.99]) by mx.google.com with ESMTPS id s8si4043366plr.139.2020.08.06.11.25.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Aug 2020 11:25:19 -0700 (PDT) Received-SPF: pass (google.com: domain of krzk@kernel.org designates 198.145.29.99 as permitted sender) client-ip=198.145.29.99; Received: by mail.kernel.org (Postfix) id C109223102; Thu, 6 Aug 2020 18:25:19 +0000 (UTC) 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 Cc: Arnd Bergmann , Krzysztof Kozlowski , Kukjin Kim , Russell King , Simtec Linux Team , Maxime Coquelin , Alexandre Torgue , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, patches@opensource.cirrus.com, linux-stm32@st-md-mailman.stormreply.com 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-TUID: yvwY6zwQ8D29 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.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%) -- 2.17.1 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