projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
385a08a
)
fdt: nios: Fix warning in ft_cpu_setup()
author
Simon Glass
<sjg@chromium.org>
Fri, 3 Apr 2015 23:57:24 +0000
(17:57 -0600)
committer
Simon Glass
<sjg@chromium.org>
Fri, 10 Apr 2015 14:15:24 +0000
(08:15 -0600)
This function should not return a value.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Thomas Chou <thomas@wytron.com.tw>
arch/nios2/cpu/fdt.c
patch
|
blob
|
history
diff --git
a/arch/nios2/cpu/fdt.c
b/arch/nios2/cpu/fdt.c
index 502468208820a25b9f72905a10a8e49bdf418b9a..79f72aa12ff3aad3e2337826317ec2245c82649f 100644
(file)
--- a/
arch/nios2/cpu/fdt.c
+++ b/
arch/nios2/cpu/fdt.c
@@
-34,7
+34,5
@@
void ft_cpu_setup(void *blob, bd_t *bd)
* Note: aliases in the dts are required for this
*/
fdt_fixup_ethernet(blob);
-
- return 0;
}
#endif /* CONFIG_OF_LIBFDT && CONFIG_OF_BOARD_SETUP */