diff options
author | Andrew Donnellan <andrew.donnellan@au1.ibm.com> | 2016-11-22 16:08:06 +1100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-11-24 22:18:43 +0100 |
commit | ed61390bff3ad43166a2552651b09ebd95dd1da5 (patch) | |
tree | 3bf04067592b49784e4c584fe087091f550591e9 /drivers/cpuidle/cpuidle-powernv.c | |
parent | a94e502c22b61072f808f53392a8433bc948b03d (diff) | |
download | op-kernel-dev-ed61390bff3ad43166a2552651b09ebd95dd1da5.zip op-kernel-dev-ed61390bff3ad43166a2552651b09ebd95dd1da5.tar.gz |
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/cpuidle-powernv.c')
-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 7fe442c..0835a37 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, }; |