diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2019-10-14 08:39:20 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-10-15 09:57:24 +0200 |
commit | 6e29e020813d346acaae8f89929a81e60bffad2a (patch) | |
tree | de594caad928b75e29872dee9241dfd596290628 /arch/arm/boards/stm32mp157c-dk2 | |
parent | 07c882f0d9f946ebb3213ab31f4e1df4d439a49e (diff) | |
download | barebox-6e29e020813d346acaae8f89929a81e60bffad2a.tar.gz barebox-6e29e020813d346acaae8f89929a81e60bffad2a.tar.xz |
ARM: stm32mp: dk2: rename function according to init level
dk2_postcore_init is not at postcore init level like the name would
suggest, but at mem init level. Rename it accordingly.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/stm32mp157c-dk2')
-rw-r--r-- | arch/arm/boards/stm32mp157c-dk2/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boards/stm32mp157c-dk2/board.c b/arch/arm/boards/stm32mp157c-dk2/board.c index cbfe21db6a..9cb861af85 100644 --- a/arch/arm/boards/stm32mp157c-dk2/board.c +++ b/arch/arm/boards/stm32mp157c-dk2/board.c @@ -5,7 +5,7 @@ #include <asm/memory.h> #include <mach/stm32.h> -static int dk2_postcore_init(void) +static int dk2_mem_init(void) { if (!of_machine_is_compatible("st,stm32mp157c-dk2")) return 0; @@ -14,4 +14,4 @@ static int dk2_postcore_init(void) return 0; } -mem_initcall(dk2_postcore_init); +mem_initcall(dk2_mem_init); |