diff mbox

[U-Boot,08/49] samsung: board: use __weak

Message ID 1412801889-14400-9-git-send-email-jeroen@myspectrum.nl
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Jeroen Hofstee Oct. 8, 2014, 8:57 p.m. UTC
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
---
 board/samsung/common/board.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

Comments

Tom Rini Oct. 27, 2014, 12:32 a.m. UTC | #1
On Wed, Oct 08, 2014 at 10:57:28PM +0200, Jeroen Hofstee wrote:

> Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c
index 5c3c5bb..758ce4f 100644
--- a/board/samsung/common/board.c
+++ b/board/samsung/common/board.c
@@ -28,19 +28,15 @@ 
 
 DECLARE_GLOBAL_DATA_PTR;
 
-int __exynos_early_init_f(void)
+__weak int exynos_early_init_f(void)
 {
 	return 0;
 }
-int exynos_early_init_f(void)
-	__attribute__((weak, alias("__exynos_early_init_f")));
 
-int __exynos_power_init(void)
+__weak int exynos_power_init(void)
 {
 	return 0;
 }
-int exynos_power_init(void)
-	__attribute__((weak, alias("__exynos_power_init")));
 
 #if defined CONFIG_EXYNOS_TMU
 /* Boot Time Thermal Analysis for SoC temperature threshold breach */