Messages in this thread | | | Date | Fri, 18 Nov 2011 09:32:56 +0530 | From | Viresh Kumar <> | Subject | Re: [PATCH] GPIO/pl061: Add suspend resume capability |
| |
On 11/18/2011 2:04 AM, Rafael J. Wysocki wrote: >> > +static const struct dev_pm_ops pl061_dev_pm_ops = { >> > + .suspend = pl061_suspend, >> > + .resume = pl061_resume, > Please also include hibernation callbacks here, otherwise your code will > break systems with hibernation enabled. > > There are convenience macros for that in linux/pm.h, please use one of them.
Sure. Thanx.
-- viresh
| |