diff options
author | Simon Glass <sjg@chromium.org> | 2015-04-03 17:57:24 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-10 08:15:24 -0600 |
commit | 4bde2e9d604f3a7d80e9bcc2c5f363746971dcd7 (patch) | |
tree | 4a2a6c58b9dce2139124192a430ae04c905513a8 | |
parent | 385a08a60f042061b004642d6b9bb6cfb794ad5a (diff) | |
download | u-boot-imx-4bde2e9d604f3a7d80e9bcc2c5f363746971dcd7.zip u-boot-imx-4bde2e9d604f3a7d80e9bcc2c5f363746971dcd7.tar.gz u-boot-imx-4bde2e9d604f3a7d80e9bcc2c5f363746971dcd7.tar.bz2 |
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>
-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 */ |