summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-08-06 15:35:58 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-08-08 09:02:05 +0200
commit6d1b29be91570b2407b7e072260a4990073de9a7 (patch)
tree720dd3845252ffb71f0172cbf4c7989586d6c445
parent7ba0f2d29959256025ece9ae961a6c3421445a7f (diff)
downloadbarebox-6d1b29be91570b2407b7e072260a4990073de9a7.tar.gz
ARM: i.MX: fix compilation with BBU disabled
Make a static inline wrapper actually static inline. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-imx/include/mach/bbu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/include/mach/bbu.h b/arch/arm/mach-imx/include/mach/bbu.h
index 7df9d66..b9b2c5b 100644
--- a/arch/arm/mach-imx/include/mach/bbu.h
+++ b/arch/arm/mach-imx/include/mach/bbu.h
@@ -113,7 +113,7 @@ static inline int imx6_bbu_internal_spi_i2c_register_handler(const char *name, c
return -ENOSYS;
}
-int vf610_bbu_internal_mmc_register_handler(const char *name, char *devicefile,
+static inline int vf610_bbu_internal_mmc_register_handler(const char *name, char *devicefile,
unsigned long flags)
{
return -ENOSYS;