[PATCH] powerpc: make powerbook_sleep_grackle static
authorOlaf Hering <olh@suse.de>
Wed, 22 Mar 2006 07:00:05 +0000 (23:00 -0800)
committerPaul Mackerras <paulus@samba.org>
Thu, 23 Mar 2006 03:40:04 +0000 (14:40 +1100)
powerbook_sleep_grackle is only called inside via-pmu, from pmu_ioctl()

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/via-pmu.c

index 4a478eb0e27dabfa73b169072090abadfea2e143..8a8fffa339f00bf1f6a15c0e213ad95132fc5b6b 100644 (file)
@@ -2201,8 +2201,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;