summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2015-07-31 08:12:20 -0400
committerMichael Ellerman <mpe@ellerman.id.au>2015-08-06 01:10:21 -0400
commitca94bbab1a0336f34066f27c503767b8181db5b1 (patch)
treec7dcf150d07e98b998ca4c36dd8c8c57688bb9a6 /drivers/macintosh
parentfe2b592173ff0274e70dc44d1d28c19bb995aa7c (diff)
windfarm: make wf_critical_overtemp() static
wf_critical_overtemp() is exported. But nothing uses that export. That's unsurprising because there's no header that defines it. Stop exporting that function and make it static. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/macintosh')
-rw-r--r--drivers/macintosh/windfarm_core.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/macintosh/windfarm_core.c b/drivers/macintosh/windfarm_core.c
index cc7ece1712b5..681e5b4d4b6a 100644
--- a/drivers/macintosh/windfarm_core.c
+++ b/drivers/macintosh/windfarm_core.c
@@ -72,7 +72,7 @@ static inline void wf_notify(int event, void *param)
72 blocking_notifier_call_chain(&wf_client_list, event, param); 72 blocking_notifier_call_chain(&wf_client_list, event, param);
73} 73}
74 74
75int wf_critical_overtemp(void) 75static int wf_critical_overtemp(void)
76{ 76{
77 static char * critical_overtemp_path = "/sbin/critical_overtemp"; 77 static char * critical_overtemp_path = "/sbin/critical_overtemp";
78 char *argv[] = { critical_overtemp_path, NULL }; 78 char *argv[] = { critical_overtemp_path, NULL };
@@ -84,7 +84,6 @@ int wf_critical_overtemp(void)
84 return call_usermodehelper(critical_overtemp_path, 84 return call_usermodehelper(critical_overtemp_path,
85 argv, envp, UMH_WAIT_EXEC); 85 argv, envp, UMH_WAIT_EXEC);
86} 86}
87EXPORT_SYMBOL_GPL(wf_critical_overtemp);
88 87
89static int wf_thread_func(void *data) 88static int wf_thread_func(void *data)
90{ 89{