All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] make powerbook_sleep_grackle static
@ 2006-02-06 12:10 Olaf Hering
  0 siblings, 0 replies; only message in thread
From: Olaf Hering @ 2006-02-06 12:10 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Andrew Morton, linuxppc-dev

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

Signed-off-by: Olaf Hering <olh@suse.de>
---
 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-06 12:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-06 12:10 [PATCH] make powerbook_sleep_grackle static Olaf Hering

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.