diff options
| author | Mathieu Malaterre <malat@debian.org> | 2018-04-04 23:12:30 +0300 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-05-25 05:04:42 +0300 |
| commit | c3f0515ea1277558e7c0c3240d17c77d2a3fcefe (patch) | |
| tree | 10140939a77b7cd395f78dca7693e991178043cb /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f72cf3f1d49f2c35d6cb682af2e8c93550f264e4 (diff) | |
| download | linux-c3f0515ea1277558e7c0c3240d17c77d2a3fcefe.tar.xz | |
powerpc/52xx: Add missing functions prototypes
The function prototypes were declared within a `#ifdef CONFIG_PPC_LITE5200`
block which would prevent them from being visible when compiling
`mpc52xx_pm.c`. Move the prototypes outside of the `#ifdef` block to fix
the following warnings treated as errors with W=1:
arch/powerpc/platforms/52xx/mpc52xx_pm.c:58:5: error: no previous prototype for ‘mpc52xx_pm_prepare’ [-Werror=missing-prototypes]
arch/powerpc/platforms/52xx/mpc52xx_pm.c:113:5: error: no previous prototype for ‘mpc52xx_pm_enter’ [-Werror=missing-prototypes]
arch/powerpc/platforms/52xx/mpc52xx_pm.c:181:6: error: no previous prototype for ‘mpc52xx_pm_finish’ [-Werror=missing-prototypes]
Suggested-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
