[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161122050806.29564-1-andrew.donnellan@au1.ibm.com>
Date: Tue, 22 Nov 2016 16:08:06 +1100
From: Andrew Donnellan <andrew.donnellan@....ibm.com>
To: linuxppc-dev@...ts.ozlabs.org, linux-pm@...r.kernel.org,
ego@...ux.vnet.ibm.com, rjw@...ysocki.net
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] 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@....ibm.com>
---
drivers/cpuidle/cpuidle-powernv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,
};
--
Andrew Donnellan OzLabs, ADL Canberra
andrew.donnellan@....ibm.com IBM Australia Limited
Powered by blists - more mailing lists