Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: clkfwk: Shuffle around to match the intc split up.

This shuffles the clock framework code around to a drivers/sh/clk subdir,
to follow the intc split up. This will make it easier to subsequently
break things out as well as plug in different helpers for non-CPG users.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

+16 -5
+3 -4
drivers/sh/Makefile
··· 1 1 # 2 2 # Makefile for the SuperH specific drivers. 3 3 # 4 - obj-y := clk.o intc/ 4 + obj-y := intc/ 5 5 6 - obj-$(CONFIG_SUPERHYWAY) += superhyway/ 6 + obj-$(CONFIG_HAVE_CLK) += clk/ 7 7 obj-$(CONFIG_MAPLE) += maple/ 8 - 8 + obj-$(CONFIG_SUPERHYWAY) += superhyway/ 9 9 obj-$(CONFIG_GENERIC_GPIO) += pfc.o 10 - obj-$(CONFIG_SH_CLK_CPG) += clk-cpg.o
+9
drivers/sh/clk-cpg.c drivers/sh/clk/cpg.c
··· 1 + /* 2 + * Helper routines for SuperH Clock Pulse Generator blocks (CPG). 3 + * 4 + * Copyright (C) 2010 Magnus Damm 5 + * 6 + * This file is subject to the terms and conditions of the GNU General Public 7 + * License. See the file "COPYING" in the main directory of this archive 8 + * for more details. 9 + */ 1 10 #include <linux/clk.h> 2 11 #include <linux/compiler.h> 3 12 #include <linux/slab.h>
+1 -1
drivers/sh/clk.c drivers/sh/clk/core.c
··· 1 1 /* 2 - * drivers/sh/clk.c - SuperH clock framework 2 + * SuperH clock framework 3 3 * 4 4 * Copyright (C) 2005 - 2010 Paul Mundt 5 5 *
+3
drivers/sh/clk/Makefile
··· 1 + obj-y := core.o 2 + 3 + obj-$(CONFIG_SH_CLK_CPG) += cpg.o