diff options
author | Simon Glass <sjg@chromium.org> | 2015-04-03 23:57:24 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-10 14:15:24 (GMT) |
commit | 4bde2e9d604f3a7d80e9bcc2c5f363746971dcd7 (patch) | |
tree | 4a2a6c58b9dce2139124192a430ae04c905513a8 /arch/nios2/cpu | |
parent | 385a08a60f042061b004642d6b9bb6cfb794ad5a (diff) | |
download | u-boot-4bde2e9d604f3a7d80e9bcc2c5f363746971dcd7.tar.xz |
fdt: nios: Fix warning in ft_cpu_setup()
This function should not return a value.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Thomas Chou <thomas@wytron.com.tw>
Diffstat (limited to 'arch/nios2/cpu')
-rw-r--r-- | arch/nios2/cpu/fdt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/nios2/cpu/fdt.c b/arch/nios2/cpu/fdt.c index 5024682..79f72aa 100644 --- 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 */ |