diff options
| author | Michael Ellerman <[email protected]> | 2023-11-30 00:19:17 +1100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2023-11-30 13:25:27 +1100 |
| commit | 10feb8f9612239b665815807e950bcd999a75dd2 (patch) | |
| tree | d6e6e3dd7ecfad0ae8fb7e4aa30de4ca6ad27f2c /tools/perf/scripts/python | |
| parent | 24afc61990de29dd47be7642c196a173f6cc21fc (diff) | |
powerpc/512x: Fix missing prototype warnings
The mpc512x_defconfig build fails with:
arch/powerpc/platforms/512x/mpc5121_ads_cpld.c:142:1: error: no previous prototype for ‘mpc5121_ads_cpld_map’ [-Werror=missing-prototypes]
142 | mpc5121_ads_cpld_map(void)
| ^~~~~~~~~~~~~~~~~~~~
arch/powerpc/platforms/512x/mpc5121_ads_cpld.c:157:1: error: no previous prototype for ‘mpc5121_ads_cpld_pic_init’ [-Werror=missing-prototypes]
157 | mpc5121_ads_cpld_pic_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
There are prototypes for these functions but the header they are in is
not included by mpc5121_ads_cpld.c. Include it to fix the build error.
Reviewed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions