From: Olaf Hering Date: Wed, 22 Mar 2006 07:00:05 +0000 (-0800) Subject: [PATCH] powerpc: make powerbook_sleep_grackle static X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3bea63136fd9b1398de77f76b7b9e3b28249ecca;p=openwrt%2Fstaging%2Fblogic.git [PATCH] powerpc: make powerbook_sleep_grackle static powerbook_sleep_grackle is only called inside via-pmu, from pmu_ioctl() Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras --- diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c index 4a478eb0e27d..8a8fffa339f0 100644 --- a/drivers/macintosh/via-pmu.c +++ b/drivers/macintosh/via-pmu.c @@ -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;