Commit 57f2bf41 authored by Dario Binacchi's avatar Dario Binacchi Committed by Tony Lindgren

ARM: OMAP2+: remove omap2_set_globals_control()

The function is no longer used, so let's remove it.
Signed-off-by: default avatarDario Binacchi <dariobin@libero.it>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent ac189a7a
......@@ -136,11 +136,6 @@ struct omap3_control_regs {
static struct omap3_control_regs control_context;
#endif /* CONFIG_ARCH_OMAP3 && CONFIG_PM */
void __init omap2_set_globals_control(void __iomem *ctrl)
{
omap2_ctrl_base = ctrl;
}
u8 omap_ctrl_readb(u16 offset)
{
u32 val;
......
......@@ -528,7 +528,6 @@ extern int omap3_ctrl_save_padconf(void);
void omap3_ctrl_init(void);
int omap2_control_base_init(void);
int omap_control_init(void);
void omap2_set_globals_control(void __iomem *ctrl);
void __init omap3_control_legacy_iomap_init(void);
#else
#define omap_ctrl_readb(x) 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment