Skip to contentSkip to conversation

powerpc/asm: Move function declaration of 'serdes_get_prtcl' to fsl_serdes.h

PATCH New Shaveta Leekha 1 participant 1 message Jul 2, 2013 PowerPC

lore
Share & tools
lore
#0 lore raw

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

---
 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
index 2258f41..485427a 100644
@@ -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
index ccb91fb..d428e90 100644
@@ -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