Skip to content
Snippets Groups Projects
Commit 4bde2e9d authored by Simon Glass's avatar Simon Glass
Browse files

fdt: nios: Fix warning in ft_cpu_setup()


This function should not return a value.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarThomas Chou <thomas@wytron.com.tw>
parent 385a08a6
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,5 @@ void ft_cpu_setup(void *blob, bd_t *bd) ...@@ -34,7 +34,5 @@ void ft_cpu_setup(void *blob, bd_t *bd)
* Note: aliases in the dts are required for this * Note: aliases in the dts are required for this
*/ */
fdt_fixup_ethernet(blob); fdt_fixup_ethernet(blob);
return 0;
} }
#endif /* CONFIG_OF_LIBFDT && CONFIG_OF_BOARD_SETUP */ #endif /* CONFIG_OF_LIBFDT && CONFIG_OF_BOARD_SETUP */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment