summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/control.c
diff options
context:
space:
mode:
authorDario Binacchi <dariobin@libero.it>2021-04-25 16:23:30 +0200
committerTony Lindgren <tony@atomide.com>2021-05-21 12:28:47 +0300
commit57f2bf41b9e093862e104c6ec3cf4cc32d69fbed (patch)
tree462dfc192d3c20f341e3c903abf9c686a10863cc /arch/arm/mach-omap2/control.c
parentac189a7a999bf99c798a588e93fc8116773e6c80 (diff)
ARM: OMAP2+: remove omap2_set_globals_control()
The function is no longer used, so let's remove it. Signed-off-by: Dario Binacchi <dariobin@libero.it> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/control.c')
-rw-r--r--arch/arm/mach-omap2/control.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/control.c b/arch/arm/mach-omap2/control.c
index 73338cf80d76..062d431fc33a 100644
--- a/arch/arm/mach-omap2/control.c
+++ b/arch/arm/mach-omap2/control.c
@@ -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;