Re: [patch 2.6.21-rc5-git 1/3] new platform_enable_wake() hook; use it in PCI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux