sh: sh7723.h: bugfix: remove unused clock index
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 22 Nov 2011 03:00:04 +0000 (19:00 -0800)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 24 Nov 2011 07:00:02 +0000 (16:00 +0900)
Current sh clocks are using pm_runtime frame work instead of old hwblk.
So, HWBLK_UNKNOWN, HWBLK_DBG and HWBLK_SUBC are not needed for now.

Now mstp32 clocks are registered by sh_clk_mstp32_register(),
but the clock which isn't defined by SH_CLK_MSTP32() macro
will be crash. because it doesn't have enable_reg.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/cpu-sh4/cpu/sh7723.h

index 9b36fae..6fae50c 100644 (file)
@@ -266,10 +266,9 @@ enum {
 };
 
 enum {
-       HWBLK_UNKNOWN = 0,
        HWBLK_TLB, HWBLK_IC, HWBLK_OC, HWBLK_L2C, HWBLK_ILMEM, HWBLK_FPU,
        HWBLK_INTC, HWBLK_DMAC0, HWBLK_SHYWAY,
-       HWBLK_HUDI, HWBLK_DBG, HWBLK_UBC, HWBLK_SUBC,
+       HWBLK_HUDI, HWBLK_UBC,
        HWBLK_TMU0, HWBLK_CMT, HWBLK_RWDT, HWBLK_DMAC1, HWBLK_TMU1,
        HWBLK_FLCTL,
        HWBLK_SCIF0, HWBLK_SCIF1, HWBLK_SCIF2,