From: Andrew Donnellan Date: Tue, 22 Nov 2016 05:08:06 +0000 (+1100) Subject: cpuidle/powernv: staticise powernv_idle_driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ed61390bff3ad43166a2552651b09ebd95dd1da5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Rafael J. Wysocki --- 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, };