[PATCH 2/7] clk: socfpga: move driver to subdirectory

Steffen Trumtrar s.trumtrar at pengutronix.de
Mon Apr 3 03:55:18 PDT 2017


Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
---
 drivers/clk/Makefile                     | 2 +-
 drivers/clk/socfpga/Makefile             | 1 +
 drivers/clk/{socfpga.c => socfpga/clk.c} | 0
 3 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 drivers/clk/socfpga/Makefile
 rename drivers/clk/{socfpga.c => socfpga/clk.c} (100%)

diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
index 5811d28b88ce..2a8c058d84e9 100644
--- a/drivers/clk/Makefile
+++ b/drivers/clk/Makefile
@@ -8,6 +8,6 @@ obj-$(CONFIG_ARCH_MVEBU)	+= mvebu/
 obj-$(CONFIG_ARCH_MXS)		+= mxs/
 obj-$(CONFIG_ARCH_ROCKCHIP)	+= rockchip/
 obj-$(CONFIG_ARCH_TEGRA)	+= tegra/
-obj-$(CONFIG_CLK_SOCFPGA)	+= socfpga.o
+obj-$(CONFIG_CLK_SOCFPGA)	+= socfpga/
 obj-$(CONFIG_MACH_MIPS_ATH79)	+= clk-ar933x.o
 obj-$(CONFIG_ARCH_IMX)		+= imx/
diff --git a/drivers/clk/socfpga/Makefile b/drivers/clk/socfpga/Makefile
new file mode 100644
index 000000000000..fc216adb744e
--- /dev/null
+++ b/drivers/clk/socfpga/Makefile
@@ -0,0 +1 @@
+obj-y	+= clk.o
diff --git a/drivers/clk/socfpga.c b/drivers/clk/socfpga/clk.c
similarity index 100%
rename from drivers/clk/socfpga.c
rename to drivers/clk/socfpga/clk.c
-- 
2.11.0




More information about the barebox mailing list