aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/devices.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-09-20 18:16:09 +0200
committerArnd Bergmann <arnd@arndb.de>2022-04-22 11:08:55 +0200
commit11237651e22c7dee1d0822c132805de23b9ed384 (patch)
treeb9548077041d5dce92bad452a19706d99979eb64 /arch/arm/mach-omap1/devices.c
parentARM: omap: split up arch/arm/plat-omap/Kconfig (diff)
downloadlinux-dev-11237651e22c7dee1d0822c132805de23b9ed384.tar.xz
linux-dev-11237651e22c7dee1d0822c132805de23b9ed384.zip
ARM: omap: un-merge plat/sram.c
The sram initialization code is the only shared omap1/2 code that is not a standalone driver, but it is very short. Having two copies of this code means some duplication of the sources, but actually saves object code size as it can be inlined better. Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-omap1/devices.c')
-rw-r--r--arch/arm/mach-omap1/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c
index eb0f09edb3d1..6bc32ebda7a7 100644
--- a/arch/arm/mach-omap1/devices.c
+++ b/arch/arm/mach-omap1/devices.c
@@ -356,7 +356,7 @@ static int __init omap1_init_devices(void)
if (!cpu_class_is_omap1())
return -ENODEV;
- omap_sram_init();
+ omap1_sram_init();
omap1_clk_late_init();
/* please keep these calls, and their implementations above,