Re: [PATCH 3/6] driver: serial: omap: add prepare/complete callbackfor "no_console_suspend" case

From: Felipe Balbi
Date: Wed Apr 17 2013 - 23:58:33 EST


Hi,

On Wed, Apr 17, 2013 at 05:04:24PM +0530, Sourav Poddar wrote:
> @@ -1632,6 +1650,8 @@ static const struct dev_pm_ops serial_omap_dev_pm_ops = {
> SET_SYSTEM_SLEEP_PM_OPS(serial_omap_suspend, serial_omap_resume)
> SET_RUNTIME_PM_OPS(serial_omap_runtime_suspend,
> serial_omap_runtime_resume, NULL)
> + .prepare = serial_omap_prepare,
> + .complete = serial_omap_complete,

if CONFIG_PM_SLEEP isn't defined, this will break compilation.

--
balbi

Attachment: signature.asc
Description: Digital signature