9
0
Fork 0

ARM: socfpga: fix compiler warning

Fixes:
arm/mach-socfpga/xload.c:31:52: warning: initialization from incompatible pointer type

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2016-11-23 09:17:19 +01:00
parent 8e108ea3ea
commit 49fc4a6052
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ static struct socfpga_barebox_part default_parts[] = {
},
{ /* sentinel */ }
};
const struct socfpga_barebox_part *barebox_parts = &default_parts;
const struct socfpga_barebox_part *barebox_parts = default_parts;
enum socfpga_clks {
timer, mmc, qspi_clk, uart, clk_max