diff mbox series

[U-Boot] sunxi: fix build error on non-ARM64 boards

Message ID 20181027050856.59122-1-icenowy@aosc.io
State Accepted
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series [U-Boot] sunxi: fix build error on non-ARM64 boards | expand

Commit Message

Icenowy Zheng Oct. 27, 2018, 5:08 a.m. UTC
The previous commit which disables Pine64 detection logic on non-Pine64
board has an error and prevents non-ARM64 boards from building.

Fix the build error on non-ARM64 boards by adjusting the position of a
'}'.

Fixes: 6b92e01dca4b ("sunxi: disable Pine A64 model detection code on other boards")
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
 board/sunxi/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Maxime Ripard Oct. 29, 2018, 8:03 a.m. UTC | #1
On Sat, Oct 27, 2018 at 01:08:56PM +0800, Icenowy Zheng wrote:
> The previous commit which disables Pine64 detection logic on non-Pine64
> board has an error and prevents non-ARM64 boards from building.
> 
> Fix the build error on non-ARM64 boards by adjusting the position of a
> '}'.
> 
> Fixes: 6b92e01dca4b ("sunxi: disable Pine A64 model detection code on other boards")
> Signed-off-by: Icenowy Zheng <icenowy@aosc.io>

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>

Maxime
Jagan Teki Oct. 29, 2018, 3:19 p.m. UTC | #2
On Sat, Oct 27, 2018 at 10:39 AM Icenowy Zheng <icenowy@aosc.io> wrote:
>
> The previous commit which disables Pine64 detection logic on non-Pine64
> board has an error and prevents non-ARM64 boards from building.
>
> Fix the build error on non-ARM64 boards by adjusting the position of a
> '}'.

I would have run buildman, it my bad. anyway I squashed it, thanks!
diff mbox series

Patch

diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 65ae0c4219..b196d48674 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -877,5 +877,5 @@  int board_fit_config_name_match(const char *name)
 	}
 #endif
 	return strcmp(name, cmp_str);
-#endif
 }
+#endif