powerpc/asm: Move function declaration of 'serdes_get_prtcl' to fsl_serdes.h
PATCH 1/1 powerpc/asm: Move function declaration of 'serdes_get_prtcl' to fsl_serdes.h
It allows files not in the same path to use this function as required by B4 board file
Signed-off-by Shaveta Leekha <[email protected]>
--- arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.h | 1 - arch/powerpc/include/asm/fsl_serdes.h | 1 + 2 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.h +0 -1
@@ -22,5 +22,4 @@int is_serdes_prtcl_valid (int serdes,u32 prtcl);int serdes_lane_enabled (int lane); -enum srds_prtcl serdes_get_prtcl (int serdes,int cfg,int lane);#endif /* __FSL_CORENET2_SERDES_H */
arch/powerpc/include/asm/fsl_serdes.h +1 -0
@@ -103,6 +103,7 @@ void fsl_serdes_init(void);#ifdef CONFIG_FSL_CORENET #ifdef CONFIG_SYS_FSL_QORIQ_CHASSIS2 int serdes_get_first_lane (u32 sd,enum srds_prtcl device); +enum srds_prtcl serdes_get_prtcl (int serdes,int cfg,int lane);#else int serdes_get_first_lane (enum srds_prtcl device);#endif
Signature · 1 line
1.7.6.GIT