Hi! > static inline int device_suspend(pm_message_t state) > --- g26.orig/drivers/base/power/main.c 2007-04-04 13:03:33.000000000 -0700 > +++ g26/drivers/base/power/main.c 2007-04-04 13:03:34.000000000 -0700 > @@ -29,6 +29,9 @@ LIST_HEAD(dpm_off_irq); > DECLARE_MUTEX(dpm_sem); > DECLARE_MUTEX(dpm_list_sem); > > +int (*platform_enable_wakeup)(struct device *dev, int is_on) = NULL; Static variables do not need zero initializers. Otherwise it looks ok. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm