Skip to content

Commit

Permalink
soc: fsl: guts: make fsl_guts_get_svr() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Horia Geantă authored and Li Yang committed Feb 26, 2019
1 parent bd3bd3b commit ae23a0f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions drivers/soc/fsl/guts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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)
{
Expand Down
2 changes: 0 additions & 2 deletions include/linux/fsl/guts.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ struct ccsr_guts {
u32 srds2cr1; /* 0x.0f44 - SerDes2 Control Register 0 */
} __attribute__ ((packed));

u32 fsl_guts_get_svr(void);

/* Alternate function signal multiplex control */
#define MPC85xx_PMUXCR_QE(x) (0x8000 >> (x))

Expand Down

0 comments on commit ae23a0f

Please sign in to comment.