summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>2016-11-22 16:08:06 +1100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-11-24 22:18:43 +0100
commited61390bff3ad43166a2552651b09ebd95dd1da5 (patch)
tree3bf04067592b49784e4c584fe087091f550591e9 /drivers/cpuidle
parenta94e502c22b61072f808f53392a8433bc948b03d (diff)
downloadlinux-ed61390bff3ad43166a2552651b09ebd95dd1da5.tar.gz
linux-ed61390bff3ad43166a2552651b09ebd95dd1da5.tar.bz2
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>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r--drivers/cpuidle/cpuidle-powernv.c2
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,
};