summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorOlaf Hering <olh@suse.de>2006-03-21 23:00:05 -0800
committerPaul Mackerras <paulus@samba.org>2006-03-23 14:40:04 +1100
commit3bea63136fd9b1398de77f76b7b9e3b28249ecca (patch)
tree443122ec33bdc8ff0a8b923667ab2a9ac17cdaaa /drivers
parent2d0eee14b23f20c501a6c2536edf68f93c56edcd (diff)
[PATCH] powerpc: make powerbook_sleep_grackle static
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/macintosh/via-pmu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c
index 4a478eb0e27..8a8fffa339f 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;