mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 04:03:58 +08:00
ARM: OMAP2+: clockdomain: remove the obsolete clkdm_xlate_address API
This is no longer used for anything so it can be dropped. Signed-off-by: Tero Kristo <t-kristo@ti.com>
This commit is contained in:
parent
6e83ecaa45
commit
17d56e80f1
@ -1224,14 +1224,6 @@ ccd_exit:
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 clkdm_xlate_address(struct clockdomain *clkdm)
|
|
||||||
{
|
|
||||||
if (arch_clkdm->clkdm_xlate_address)
|
|
||||||
return arch_clkdm->clkdm_xlate_address(clkdm);
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* clkdm_hwmod_enable - add an enabled downstream hwmod to this clkdm
|
* clkdm_hwmod_enable - add an enabled downstream hwmod to this clkdm
|
||||||
* @clkdm: struct clockdomain *
|
* @clkdm: struct clockdomain *
|
||||||
|
@ -175,7 +175,6 @@ struct clkdm_ops {
|
|||||||
void (*clkdm_deny_idle)(struct clockdomain *clkdm);
|
void (*clkdm_deny_idle)(struct clockdomain *clkdm);
|
||||||
int (*clkdm_clk_enable)(struct clockdomain *clkdm);
|
int (*clkdm_clk_enable)(struct clockdomain *clkdm);
|
||||||
int (*clkdm_clk_disable)(struct clockdomain *clkdm);
|
int (*clkdm_clk_disable)(struct clockdomain *clkdm);
|
||||||
u32 (*clkdm_xlate_address)(struct clockdomain *clkdm);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
int clkdm_register_platform_funcs(struct clkdm_ops *co);
|
int clkdm_register_platform_funcs(struct clkdm_ops *co);
|
||||||
@ -214,7 +213,6 @@ int clkdm_clk_enable(struct clockdomain *clkdm, struct clk *clk);
|
|||||||
int clkdm_clk_disable(struct clockdomain *clkdm, struct clk *clk);
|
int clkdm_clk_disable(struct clockdomain *clkdm, struct clk *clk);
|
||||||
int clkdm_hwmod_enable(struct clockdomain *clkdm, struct omap_hwmod *oh);
|
int clkdm_hwmod_enable(struct clockdomain *clkdm, struct omap_hwmod *oh);
|
||||||
int clkdm_hwmod_disable(struct clockdomain *clkdm, struct omap_hwmod *oh);
|
int clkdm_hwmod_disable(struct clockdomain *clkdm, struct omap_hwmod *oh);
|
||||||
u32 clkdm_xlate_address(struct clockdomain *clkdm);
|
|
||||||
|
|
||||||
extern void __init omap242x_clockdomains_init(void);
|
extern void __init omap242x_clockdomains_init(void);
|
||||||
extern void __init omap243x_clockdomains_init(void);
|
extern void __init omap243x_clockdomains_init(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user