diff options
| author | Cédric Le Goater <[email protected]> | 2021-01-04 15:31:47 +0100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-01-30 11:39:28 +1100 |
| commit | 90db8bf24d133654032a1c7dd46aa5096627b9ff (patch) | |
| tree | cea1e12c0c94dccc27c4db211c15cbc5931184b7 /tools/perf/scripts/python/bin/flamegraph-record | |
| parent | 44159329e0ad160af7cc7e84fa6d97531c8ed78f (diff) | |
powerpc/pseries/ras: Make init_ras_hotplug_IRQ() static
init_ras_hotplug_IRQ() is a local routine used by a machine init call
and it doesn't need to be external.
It fixes this W=1 compile error:
../arch/powerpc/platforms/pseries/ras.c:125:12: error: no previous prototype for ‘init_ras_hotplug_IRQ’ [-Werror=missing-prototypes]
125 | int __init init_ras_hotplug_IRQ(void)
| ^~~~~~~~~~~~~~~~~~~~
Fixes: c9dccf1d074a ("powerpc/pseries: Enable RAS hotplug events later")
Signed-off-by: Cédric Le Goater <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions