summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2021-06-16 10:54:37 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-06-16 10:54:37 +0200
commit0ae461c2ee6baed1a94b88c0ecfc4a9d0f4e5201 (patch)
tree7c6e35c227d10607d6f15e91b69fb2e96f6c1a8c /arch/arm/mach-omap
parent226938796e525f42e002769f21dc66d16ac26f9b (diff)
parent73a9619b85497d19b74e6a023aa9ce0e88a1143d (diff)
downloadbarebox-0ae461c2ee6baed1a94b88c0ecfc4a9d0f4e5201.tar.gz
barebox-0ae461c2ee6baed1a94b88c0ecfc4a9d0f4e5201.tar.xz
Merge branch 'for-next/overlapping-memory-banks'
Diffstat (limited to 'arch/arm/mach-omap')
-rw-r--r--arch/arm/mach-omap/am33xx_scrm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-omap/am33xx_scrm.c b/arch/arm/mach-omap/am33xx_scrm.c
index 80510cf5b4..0f13a9deb6 100644
--- a/arch/arm/mach-omap/am33xx_scrm.c
+++ b/arch/arm/mach-omap/am33xx_scrm.c
@@ -24,9 +24,7 @@
static int am33xx_scrm_probe(struct device_d *dev)
{
- arm_add_mem_device("ram0", 0x80000000, am335x_sdram_size());
-
- return 0;
+ return arm_add_mem_device("ram0", 0x80000000, am335x_sdram_size());
}
static __maybe_unused struct of_device_id am33xx_scrm_dt_ids[] = {