diff options
| author | Finn Thain <fthain@telegraphics.com.au> | 2018-07-02 04:21:18 -0400 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-07-31 19:56:39 +1000 |
| commit | 73f4447d43484224d7abfba0d9468de4982ef889 (patch) | |
| tree | ebbd387e346df52c845273983aee44f697a8668e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | powerpc/44x: Mark mmu_init_secondary() as __init (diff) | |
| download | linux-73f4447d43484224d7abfba0d9468de4982ef889.tar.gz linux-73f4447d43484224d7abfba0d9468de4982ef889.zip | |
macintosh/via-pmu: Fix section mismatch warning
The pmu_init() function has the __init qualifier, but the ops struct
that holds a pointer to it does not. This causes a build warning.
The driver works fine because the pointer is only dereferenced early.
The function is so small that there's negligible benefit from using
the __init qualifier. Remove it to fix the warning, consistent with
the other ADB drivers.
Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
