Rafael J. Wysocki wrote: > +#define SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \ > +struct dev_pm_ops name = { \ > + .suspend = suspend_fn, \ > + .resume = resume_fn, \ > + .freeze = suspend_fn, \ > + .thaw = resume_fn, \ > + .poweroff = suspend_fn, \ > + .resume = resume_fn, \ That defines .resume twice. Guess the last should be restore. Cheers, FJP _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm