diff options
author | Olaf Hering <olh@suse.de> | 2006-03-22 08:00:05 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-23 04:40:04 +0100 |
commit | 3bea63136fd9b1398de77f76b7b9e3b28249ecca (patch) | |
tree | 443122ec33bdc8ff0a8b923667ab2a9ac17cdaaa /drivers | |
parent | [PATCH] powerpc: Fix warning in add_memory (diff) | |
download | linux-3bea63136fd9b1398de77f76b7b9e3b28249ecca.tar.xz linux-3bea63136fd9b1398de77f76b7b9e3b28249ecca.zip |
[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.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |