On Wed, Dec 11, 2013 at 04:11:51PM +0800, Hou Zhiqiang wrote: > +#ifdef CONFIG_PM > +static int of_fsl_espi_suspend(struct device *dev, pm_message_t state)
This should be CONFIG_PM_SLEEP. I'd also expect to see a call to spi_master_suspend() here (and similarly for resume) - it won't do anything yet but it'd better for completeness in case we add extra behaviour and looking at the driver it ought to be converted to transfer_one_message anyway. > +#ifdef CONFIG_PM > + .suspend = of_fsl_espi_suspend, > + .resume = of_fsl_espi_resume, > +#endif SET_SYSTEM_SLEEP_PM_OPS().
signature.asc
Description: Digital signature
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev