Re: [PATCH 1/2] power: Add function to init wakeup capability without enabling

From: Rafael J. Wysocki
Date: Wed Jan 18 2012 - 19:06:48 EST


On Thursday, January 19, 2012, Simon Glass wrote:
> device_init_wakeup() offers two options:
>
> 1. Wakeup capable and wakeup enabled
> 2 Not wakeup capable and not wakeup enabled
>
> serial_core wants a third option:
>
> 3. Wakeup capable but not wakeup enabled (yet)

Which is device_set_wakeup_capable(dev, true).

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/