error CLK_IS_ROOT undeclared here (not in a function)
drivers/clk/ingenic/clk-t40.c:25:30: error: 'CLK_IS_ROOT' undeclared here (not in a function); did you mean 'IS_ROOT'?
FRATE(CLK_EXT, "ext", NULL, CLK_IS_ROOT, 24000000),
^
3c7f4f54578b983c964eb992229a7dd153ce5ee0
drivers/clk/ingenic/clk-t40.c
@@ -17,17 +17,14 @@
#define CLK_FLG_ENABLE BIT(1)
static struct ingenic_clk_provider *ctx;
-
/*******************************************************************************
* FIXED CLK
********************************************************************************/
static struct ingenic_fixed_rate_clock t40_fixed_rate_ext_clks[] __initdata = {
- FRATE(CLK_EXT, "ext", NULL, CLK_IS_ROOT, 24000000),
- FRATE(CLK_RTC_EXT, "rtc_ext", NULL, CLK_IS_ROOT, 32768),
+ FRATE(CLK_EXT, "ext", NULL, 0, 24000000),
+ FRATE(CLK_RTC_EXT, "rtc_ext", NULL, 0, 32768),