From 23f4bd756d5177ecedbbc32163ae456807b0fa66 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Wed, 1 May 2013 19:02:02 +0200 Subject: 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 Reviewed-by: Tom Rini --- include/fpga.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/fpga.h') diff --git a/include/fpga.h b/include/fpga.h index 0d01e040db..38f62c0c2a 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); -- cgit v1.2.3