Commit 40f398a42b2f7509f08cfe2dd0e77aa3eeec6540

Authored by Shaveta Leekha
Committed by York Sun
1 parent 6fbe988901

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 <shaveta@freescale.com>

Showing 2 changed files with 1 additions and 1 deletions Side-by-side Diff

arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.h
... ... @@ -9,6 +9,5 @@
9 9  
10 10 int is_serdes_prtcl_valid(int serdes, u32 prtcl);
11 11 int serdes_lane_enabled(int lane);
12   -enum srds_prtcl serdes_get_prtcl(int serdes, int cfg, int lane);
13 12 #endif /* __FSL_CORENET2_SERDES_H */
arch/powerpc/include/asm/fsl_serdes.h
... ... @@ -90,6 +90,7 @@
90 90 #ifdef CONFIG_FSL_CORENET
91 91 #ifdef CONFIG_SYS_FSL_QORIQ_CHASSIS2
92 92 int serdes_get_first_lane(u32 sd, enum srds_prtcl device);
  93 +enum srds_prtcl serdes_get_prtcl(int serdes, int cfg, int lane);
93 94 #else
94 95 int serdes_get_first_lane(enum srds_prtcl device);
95 96 #endif