cpuidle/powernv: staticise powernv_idle_driver
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Tue, 22 Nov 2016 05:08:06 +0000 (16:08 +1100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 24 Nov 2016 21:18:43 +0000 (22:18 +0100)
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>
drivers/cpuidle/cpuidle-powernv.c

index 7fe442ca38f4b793cef0f70731a62e215d5d37fc..0835a37a5f3a66854f169bf6314fb3b945a52081 100644 (file)
@@ -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,
 };