diff options
author | 2021-04-16 21:38:04 +1000 | |
---|---|---|
committer | 2021-04-16 23:57:51 +1000 | |
commit | 0751fdf280416847d31d9b7276e4afc614fc6e15 (patch) | |
tree | fd6e49cbc384781f0820bf2fc3b4839263465dd5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | powerpc/papr_scm: Fix build error due to wrong printf specifier (diff) | |
download | wireguard-linux-0751fdf280416847d31d9b7276e4afc614fc6e15.tar.xz wireguard-linux-0751fdf280416847d31d9b7276e4afc614fc6e15.zip |
macintosh/via-pmu: Fix build warning
Now that __fake_sleep is static, we get a warning about it being unused
in some configurations:
drivers/macintosh/via-pmu.c:190:12: warning: '__fake_sleep' defined but not used
190 | static int __fake_sleep;
Move it inside the ifdef where it's used to avoid the warning.
Fixes: 95d143923379 ("macintosh/via-pmu: Make some symbols static")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210416114139.772236-1-mpe@ellerman.id.au
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions