From 83d0fa107680b7e870658b89448d5552ba0b352e Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 18 Oct 2018 08:53:53 +0200 Subject: nvmem: i.MX ocotp: Make locally used functions static Signed-off-by: Sascha Hauer --- drivers/nvmem/ocotp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/nvmem') diff --git a/drivers/nvmem/ocotp.c b/drivers/nvmem/ocotp.c index c2d2982ee1..ba35bef99a 100644 --- a/drivers/nvmem/ocotp.c +++ b/drivers/nvmem/ocotp.c @@ -184,7 +184,7 @@ static int fuse_read_addr(struct ocotp_priv *priv, u32 addr, u32 *pdata) return 0; } -int imx6_ocotp_read_one_u32(struct ocotp_priv *priv, u32 index, u32 *pdata) +static int imx6_ocotp_read_one_u32(struct ocotp_priv *priv, u32 index, u32 *pdata) { int ret; @@ -257,7 +257,7 @@ static int imx6_ocotp_reload_shadow(struct ocotp_priv *priv) return imx6_ocotp_wait_busy(priv, OCOTP_CTRL_RELOAD_SHADOWS); } -int imx6_ocotp_blow_one_u32(struct ocotp_priv *priv, u32 index, u32 data, +static int imx6_ocotp_blow_one_u32(struct ocotp_priv *priv, u32 index, u32 data, u32 *pfused_value) { int ret; -- cgit v1.2.3