diff options
| author | Finn Thain <[email protected]> | 2018-07-02 04:21:18 -0400 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-07-31 19:56:39 +1000 |
| commit | 73f4447d43484224d7abfba0d9468de4982ef889 (patch) | |
| tree | ebbd387e346df52c845273983aee44f697a8668e /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | f7e2a152231f4a0308cc8f9c2296ba4e419ae945 (diff) | |
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 <[email protected]>
Signed-off-by: Finn Thain <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions