Re: [linux-pm] [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]

 



On Monday 23 April 2007, Pavel Machek wrote:
> 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.

That was resolved by a cleanup patch; also a glitch when
building without CONFIG_PM.

- dave
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux