diff options
author | Andrew Donnellan <andrew.donnellan@au1.ibm.com> | 2016-11-22 06:08:06 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-11-24 22:18:43 +0100 |
commit | ed61390bff3ad43166a2552651b09ebd95dd1da5 (patch) | |
tree | 3bf04067592b49784e4c584fe087091f550591e9 | |
parent | cpuidle: dt: assign ->enter_freeze to same as ->enter callback function (diff) | |
download | linux-ed61390bff3ad43166a2552651b09ebd95dd1da5.tar.xz linux-ed61390bff3ad43166a2552651b09ebd95dd1da5.zip |
cpuidle/powernv: staticise powernv_idle_driver
powernv_idle_driver isn't exported, it can be made static. Found by sparse.
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/cpuidle/cpuidle-powernv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpuidle/cpuidle-powernv.c b/drivers/cpuidle/cpuidle-powernv.c index 7fe442ca38f4..0835a37a5f3a 100644 --- a/drivers/cpuidle/cpuidle-powernv.c +++ b/drivers/cpuidle/cpuidle-powernv.c @@ -22,7 +22,7 @@ #define POWERNV_THRESHOLD_LATENCY_NS 200000 -struct cpuidle_driver powernv_idle_driver = { +static struct cpuidle_driver powernv_idle_driver = { .name = "powernv_idle", .owner = THIS_MODULE, }; |