summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2019-10-17 08:09:28 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-10-18 12:51:13 +0200
commite096d05356e8f7af0196e00d9747469e9ea61ba8 (patch)
tree1f042bfca1abde40b118e5fbb0eeb07bc608e386 /arch
parent3088337dd49515a5e0e3a75a85c06cc10a8416c7 (diff)
downloadbarebox-e096d05356e8f7af0196e00d9747469e9ea61ba8.tar.gz
barebox-e096d05356e8f7af0196e00d9747469e9ea61ba8.tar.xz
ARM: socfpga: arria10-xload: fix Wmissing-prototypes
Fix the warning: arch/arm/mach-socfpga/arria10-xload.c:17:5: warning: no previous prototype for 'a10_update_bits' [-Wmissing-prototypes] 17 | int a10_update_bits(unsigned int reg, unsigned int mask, | ^~~~~~~~~~~~~~~ Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-socfpga/include/mach/arria10-xload.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/arria10-xload.h b/arch/arm/mach-socfpga/include/mach/arria10-xload.h
index 71f8397362..7575231bbf 100644
--- a/arch/arm/mach-socfpga/include/mach/arria10-xload.h
+++ b/arch/arm/mach-socfpga/include/mach/arria10-xload.h
@@ -4,6 +4,7 @@
void arria10_init_mmc(void);
int arria10_prepare_mmc(int barebox_part, int rbf_part);
int arria10_read_blocks(void *dst, int blocknum, size_t len);
+int a10_update_bits(unsigned int reg, unsigned int mask, unsigned int val);
struct partition {
uint64_t first_sec;