summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-05-01 19:02:02 +0200
committerMichal Simek <michal.simek@xilinx.com>2013-05-06 10:41:20 +0200
commit23f4bd756d5177ecedbbc32163ae456807b0fa66 (patch)
tree29c74b8a8e511650ac471a01064f112d12fbe9fa /include
parent52c2064476a2a44a9a872c6f1d69f4444cb49cbd (diff)
downloadu-boot-imx-23f4bd756d5177ecedbbc32163ae456807b0fa66.zip
u-boot-imx-23f4bd756d5177ecedbbc32163ae456807b0fa66.tar.gz
u-boot-imx-23f4bd756d5177ecedbbc32163ae456807b0fa66.tar.bz2
fpga: Change the first parameter in fpga_loadbitstream
All fpga functions use devnum as int. Only fpga_loadbitstream is using it as unsinged long dev. This patch synchronize it. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/fpga.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fpga.h b/include/fpga.h
index 0d01e04..38f62c0 100644
--- a/include/fpga.h
+++ b/include/fpga.h
@@ -68,7 +68,7 @@ extern void fpga_init(void);
extern int fpga_add(fpga_type devtype, void *desc);
extern int fpga_count(void);
extern int fpga_load(int devnum, const void *buf, size_t bsize);
-extern int fpga_loadbitstream(unsigned long dev, char *fpgadata, size_t size);
+extern int fpga_loadbitstream(int devnum, char *fpgadata, size_t size);
extern int fpga_dump(int devnum, const void *buf, size_t bsize);
extern int fpga_info(int devnum);