From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ns.lynxeye.de ([87.118.118.114] helo=lynxeye.de) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iTRkM-0007FQ-EF for barebox@lists.infradead.org; Sat, 09 Nov 2019 14:29:52 +0000 Received: from astat.fritz.box (a89-183-91-60.net-htp.de [89.183.91.60]) by lynxeye.de (Postfix) with ESMTPA id 18F16E74261 for ; Sat, 9 Nov 2019 15:28:43 +0100 (CET) From: Lucas Stach Date: Sat, 9 Nov 2019 15:28:28 +0100 Message-Id: <20191109142837.82409-9-dev@lynxeye.de> In-Reply-To: <20191109142837.82409-1-dev@lynxeye.de> References: <20191109142837.82409-1-dev@lynxeye.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v2 09/18] ARM: zynq: move clock controller driver to drivers/clk To: barebox@lists.infradead.org No functional change, just adjusting the Zynq code to common practise. Signed-off-by: Lucas Stach --- arch/arm/mach-zynq/Makefile | 2 +- drivers/clk/Makefile | 1 + drivers/clk/zynq/Makefile | 1 + arch/arm/mach-zynq/clk-zynq7000.c => drivers/clk/zynq/clkc.c | 0 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 drivers/clk/zynq/Makefile rename arch/arm/mach-zynq/clk-zynq7000.c => drivers/clk/zynq/clkc.c (100%) diff --git a/arch/arm/mach-zynq/Makefile b/arch/arm/mach-zynq/Makefile index 459c95762256..b401c77983d3 100644 --- a/arch/arm/mach-zynq/Makefile +++ b/arch/arm/mach-zynq/Makefile @@ -1 +1 @@ -obj-y += zynq.o devices.o clk-zynq7000.o +obj-y += zynq.o devices.o diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile index 1bd5f9035896..8160620dc618 100644 --- a/drivers/clk/Makefile +++ b/drivers/clk/Makefile @@ -9,6 +9,7 @@ obj-$(CONFIG_ARCH_MVEBU) += mvebu/ obj-$(CONFIG_ARCH_MXS) += mxs/ obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/ obj-$(CONFIG_ARCH_TEGRA) += tegra/ +obj-$(CONFIG_ARCH_ZYNQ) += zynq/ obj-$(CONFIG_ARCH_ZYNQMP) += zynqmp/ obj-$(CONFIG_CLK_SOCFPGA) += socfpga/ obj-$(CONFIG_SOC_QCA_AR9331) += clk-ar933x.o diff --git a/drivers/clk/zynq/Makefile b/drivers/clk/zynq/Makefile new file mode 100644 index 000000000000..8fedfc77e4dc --- /dev/null +++ b/drivers/clk/zynq/Makefile @@ -0,0 +1 @@ +obj-y += clkc.o diff --git a/arch/arm/mach-zynq/clk-zynq7000.c b/drivers/clk/zynq/clkc.c similarity index 100% rename from arch/arm/mach-zynq/clk-zynq7000.c rename to drivers/clk/zynq/clkc.c -- 2.23.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox