diff options
| author | 2016-01-25 16:45:49 +0100 | |
|---|---|---|
| committer | 2016-02-15 06:01:51 +0100 | |
| commit | 6a65b2b2af716854986b6d7d17ce096a949be863 (patch) | |
| tree | f5b7bbe9e6286a15c293bc703b54d68acc5942bb /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | power/reset: versatile: support the actual versatile (diff) | |
| download | linux-rng-6a65b2b2af716854986b6d7d17ce096a949be863.tar.xz linux-rng-6a65b2b2af716854986b6d7d17ce096a949be863.zip | |
power: collie_battery: hide unused variable
The 'wakeup_enabled' variable in this driver is only accessed
by the optional power management functions and we get a warning
when they are disabled:
drivers/power/collie_battery.c:29:12: error: 'wakeup_enabled' defined but not used [-Werror=unused-variable]
This moves the definition next to the users inside the same #ifdef,
which avoids the warning.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
