arm: socfpga: fpga: fix type of local variable
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Mon, 15 Oct 2018 18:35:10 +0000 (20:35 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 31 Oct 2018 00:41:10 +0000 (01:41 +0100)
commitd5de3d497849d337b4da601c93a4cee2d127c20a
treebd04b6809f4e769c0ce15c31dc480d9d029c0ce1
parent454cf76184c65426b68033a23da086e73663f2fc
arm: socfpga: fpga: fix type of local variable

The 'status' variable in 'socfpga_load()' for both gen5 and arria10
is of type 'unsigned long' while it is always used as 'int' only.
Change it to 'int'.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
drivers/fpga/socfpga_arria10.c
drivers/fpga/socfpga_gen5.c