summaryrefslogtreecommitdiff
path: root/include/fpga.h
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-01-14 09:59:00 +0100
committerMichal Simek <michal.simek@xilinx.com>2015-01-21 10:25:01 +0100
commit6583505c23207e25a1b736aeaf207122d468d671 (patch)
tree5b054c7ce2f5ef86e1d0242e888218a8002c0b22 /include/fpga.h
parent1b63aaa587058489d1d1347866df4853a670dc90 (diff)
downloadu-boot-imx-6583505c23207e25a1b736aeaf207122d468d671.zip
u-boot-imx-6583505c23207e25a1b736aeaf207122d468d671.tar.gz
u-boot-imx-6583505c23207e25a1b736aeaf207122d468d671.tar.bz2
fpga: Remove extern prototypes from .h
This problem is reported by checkpatch.pl Warnings: CHECK: extern prototypes should be avoided in .h files Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/fpga.h')
-rw-r--r--include/fpga.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/include/fpga.h b/include/fpga.h
index 914024c..ef044e9 100644
--- a/include/fpga.h
+++ b/include/fpga.h
@@ -49,18 +49,18 @@ typedef enum {
} bitstream_type;
/* root function definitions */
-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,
- bitstream_type bstype);
-extern int fpga_fsload(int devnum, const void *buf, size_t size,
- fpga_fs_info *fpga_fsinfo);
-extern int fpga_loadbitstream(int devnum, char *fpgadata, size_t size,
- bitstream_type bstype);
-extern int fpga_dump(int devnum, const void *buf, size_t bsize);
-extern int fpga_info(int devnum);
-extern const fpga_desc *const fpga_validate(int devnum, const void *buf,
- size_t bsize, char *fn);
+void fpga_init(void);
+int fpga_add(fpga_type devtype, void *desc);
+int fpga_count(void);
+int fpga_load(int devnum, const void *buf, size_t bsize,
+ bitstream_type bstype);
+int fpga_fsload(int devnum, const void *buf, size_t size,
+ fpga_fs_info *fpga_fsinfo);
+int fpga_loadbitstream(int devnum, char *fpgadata, size_t size,
+ bitstream_type bstype);
+int fpga_dump(int devnum, const void *buf, size_t bsize);
+int fpga_info(int devnum);
+const fpga_desc *const fpga_validate(int devnum, const void *buf,
+ size_t bsize, char *fn);
#endif /* _FPGA_H_ */