[PATCH] usb: ehci/ohci: use SIMPLE_DEV_PM_OPS to support hibernation

Fabio Estevam festevam at gmail.com
Thu Oct 23 07:33:41 PDT 2014


On Thu, Oct 23, 2014 at 6:48 AM, Wonhong Kwon <wonhongkwon at gmail.com> wrote:

> -#else /* !CONFIG_PM */
> +#else /* !CONFIG_PM_SLEEP */
>  #define ehci_platform_suspend  NULL
>  #define ehci_platform_resume   NULL

No need for these NULL defines anymore as you switched to SIMPLE_DEV_PM_OPS.

> -#else /* !CONFIG_PM */
> +#else /* !CONFIG_PM_SLEEP */
>  #define ohci_platform_suspend  NULL
>  #define ohci_platform_resume   NULL

Same here.



More information about the linux-arm-kernel mailing list