Subject: [PATCH] make powerbook_sleep_grackle static

From: Olaf Hering <[email-masked]>
Date: Mon, 6 Feb 2006 13:10:13 +0100

powerbook_sleep_grackle is only called inside via-pmu,
from pmu_ioctl()

Signed-off-by: Olaf Hering <[email-masked]>
---
 drivers/macintosh/via-pmu.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Index: linux-2.6.15/drivers/macintosh/via-pmu.c
===================================================================
--- linux-2.6.15.orig/drivers/macintosh/via-pmu.c
+++ linux-2.6.15/drivers/macintosh/via-pmu.c
@@ -2200,8 +2200,7 @@ pmac_wakeup_devices(void)
 #define	GRACKLE_NAP	(1<<4)
 #define	GRACKLE_SLEEP	(1<<3)
 
-int
-powerbook_sleep_grackle(void)
+static int powerbook_sleep_grackle(void)
 {
 	unsigned long save_l2cr;
 	unsigned short pmcr1;
-- 
short story of a lazy sysadmin:
 alias appserv=wotan