summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-socfpga/include/mach
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-10-03 20:37:35 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-10-03 20:37:35 +0200
commitca1ba604a379d05e570a05232e86b5364f166e49 (patch)
tree2ca73de42c27e5946177878d1d8645c6c4a994bb /arch/arm/mach-socfpga/include/mach
parent45d2ef9e310396d808f9ec7f89c3f3b1772a8630 (diff)
downloadbarebox-ca1ba604a379d05e570a05232e86b5364f166e49.tar.gz
ARM: socfpga: Add missing inline to noop functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-socfpga/include/mach')
-rw-r--r--arch/arm/mach-socfpga/include/mach/generic.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/generic.h b/arch/arm/mach-socfpga/include/mach/generic.h
index 72391f3..c8ee73f 100644
--- a/arch/arm/mach-socfpga/include/mach/generic.h
+++ b/arch/arm/mach-socfpga/include/mach/generic.h
@@ -65,19 +65,19 @@ static inline void socfpga_arria10_timer_init(void)
{
return;
}
-static void arria10_prepare_mmc(int barebox, int bitstream)
+static inline void arria10_prepare_mmc(int barebox, int bitstream)
{
return;
}
-static void arria10_start_image(int offset)
+static inline void arria10_start_image(int offset)
{
return;
}
-static int arria10_load_fpga(int offset, int size)
+static inline int arria10_load_fpga(int offset, int size)
{
- return;
+ return 0;
}
-static int arria10_device_init(struct arria10_mainpll_cfg *mainpll,
+static inline int arria10_device_init(struct arria10_mainpll_cfg *mainpll,
struct arria10_perpll_cfg *perpll,
uint32_t *pinmux)
{