Commit 544089a9f654832125ee4602e48636139a17aa00
Committed by
Paul Mundt
1 parent
615c36f535
Exists in
master
and in
6 other branches
sh: sh7723.h: bugfix: remove unused clock index
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>
Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff
arch/sh/include/cpu-sh4/cpu/sh7723.h
... | ... | @@ -266,10 +266,9 @@ |
266 | 266 | }; |
267 | 267 | |
268 | 268 | enum { |
269 | - HWBLK_UNKNOWN = 0, | |
270 | 269 | HWBLK_TLB, HWBLK_IC, HWBLK_OC, HWBLK_L2C, HWBLK_ILMEM, HWBLK_FPU, |
271 | 270 | HWBLK_INTC, HWBLK_DMAC0, HWBLK_SHYWAY, |
272 | - HWBLK_HUDI, HWBLK_DBG, HWBLK_UBC, HWBLK_SUBC, | |
271 | + HWBLK_HUDI, HWBLK_UBC, | |
273 | 272 | HWBLK_TMU0, HWBLK_CMT, HWBLK_RWDT, HWBLK_DMAC1, HWBLK_TMU1, |
274 | 273 | HWBLK_FLCTL, |
275 | 274 | HWBLK_SCIF0, HWBLK_SCIF1, HWBLK_SCIF2, |