power: Compile with -Wall -Wextra -Werror

* And fix the build errors

Change-Id: I183203edfd92d4672893d74aa7428bc9f5e17772
This commit is contained in:
Michael Bestas
2018-03-26 01:00:20 +03:00
parent 0c54d07956
commit 39e18570bf
5 changed files with 8 additions and 13 deletions

View File

@@ -33,8 +33,6 @@
extern "C" {
#endif
#define NODE_MAX (64)
#define SCALING_GOVERNOR_PATH "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
#define INTERACTIVE_GOVERNOR "interactive"
#define SCHEDUTIL_GOVERNOR "schedutil"