aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/soc
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2019-02-21 12:37:31 +0200
committerLi Yang <leoyang.li@nxp.com>2019-02-26 11:48:04 -0600
commitae23a0fe58887a1c0518062b49bf8ac30209c26c (patch)
treed2cd3e0e15ddc623eb1f15f198bcd0d986c4a50b /drivers/soc
parentsoc: fsl: dpio: fix memory leak of a struct qbman on error exit path (diff)
downloadlinux-dev-ae23a0fe58887a1c0518062b49bf8ac30209c26c.tar.xz
linux-dev-ae23a0fe58887a1c0518062b49bf8ac30209c26c.zip
soc: fsl: guts: make fsl_guts_get_svr() static
The export of fsl_guts_get_svr() is a left-over, it's currently used only internally and users needing SoC information should use the generic soc_device infrastructure. Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Acked-by: Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/fsl/guts.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/soc/fsl/guts.c b/drivers/soc/fsl/guts.c
index 4f9655087bd7..63f6df86f9e5 100644
--- a/drivers/soc/fsl/guts.c
+++ b/drivers/soc/fsl/guts.c
@@ -115,7 +115,7 @@ static const struct fsl_soc_die_attr *fsl_soc_die_match(
return NULL;
}
-u32 fsl_guts_get_svr(void)
+static u32 fsl_guts_get_svr(void)
{
u32 svr = 0;
@@ -129,7 +129,6 @@ u32 fsl_guts_get_svr(void)
return svr;
}
-EXPORT_SYMBOL(fsl_guts_get_svr);
static int fsl_guts_probe(struct platform_device *pdev)
{