Commit ae23a0fe authored by Horia Geantă's avatar Horia Geantă Committed by Li Yang

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: default avatarHoria Geantă <horia.geanta@nxp.com>
Acked-by: default avatarYangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: default avatarLi Yang <leoyang.li@nxp.com>
parent bd3bd3b3
...@@ -115,7 +115,7 @@ static const struct fsl_soc_die_attr *fsl_soc_die_match( ...@@ -115,7 +115,7 @@ static const struct fsl_soc_die_attr *fsl_soc_die_match(
return NULL; return NULL;
} }
u32 fsl_guts_get_svr(void) static u32 fsl_guts_get_svr(void)
{ {
u32 svr = 0; u32 svr = 0;
...@@ -129,7 +129,6 @@ u32 fsl_guts_get_svr(void) ...@@ -129,7 +129,6 @@ u32 fsl_guts_get_svr(void)
return svr; return svr;
} }
EXPORT_SYMBOL(fsl_guts_get_svr);
static int fsl_guts_probe(struct platform_device *pdev) static int fsl_guts_probe(struct platform_device *pdev)
{ {
......
...@@ -135,8 +135,6 @@ struct ccsr_guts { ...@@ -135,8 +135,6 @@ struct ccsr_guts {
u32 srds2cr1; /* 0x.0f44 - SerDes2 Control Register 0 */ u32 srds2cr1; /* 0x.0f44 - SerDes2 Control Register 0 */
} __attribute__ ((packed)); } __attribute__ ((packed));
u32 fsl_guts_get_svr(void);
/* Alternate function signal multiplex control */ /* Alternate function signal multiplex control */
#define MPC85xx_PMUXCR_QE(x) (0x8000 >> (x)) #define MPC85xx_PMUXCR_QE(x) (0x8000 >> (x))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment