X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fsh_tmu.h;h=aa60c98750a0311eb4675cd71a96cde7b1f170c4;hb=c14d4b0051df5f569fa33d9937af1db267ed6d34;hp=f5b42faea418aff5857849810172f824f3fd677b;hpb=55aea84b1db277bd86edadb37d11b78d36db7608;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/sh_tmu.h b/include/sh_tmu.h index f5b42fa..aa60c98 100644 --- a/include/sh_tmu.h +++ b/include/sh_tmu.h @@ -25,7 +25,7 @@ #include -#if defined(CONFIG_SH3) +#if defined(CONFIG_CPU_SH3) struct tmu_regs { u8 tocr; u8 reserved0; @@ -45,9 +45,9 @@ struct tmu_regs { u16 reserved4; u32 tcpr2; }; -#endif /* CONFIG_SH3 */ +#endif /* CONFIG_CPU_SH3 */ -#if defined(CONFIG_SH4) || defined(CONFIG_SH4A) || defined(CONFIG_RMOBILE) +#if defined(CONFIG_CPU_SH4) || defined(CONFIG_ARCH_RMOBILE) struct tmu_regs { u32 reserved; u8 tstr; @@ -65,7 +65,7 @@ struct tmu_regs { u16 tcr2; u16 reserved5; }; -#endif /* CONFIG_SH4 */ +#endif /* CONFIG_CPU_SH4 */ static inline unsigned long get_tmu0_clk_rate(void) {