[PATCH 1/3] mtd: r852: add CONFIG_PM_SLEEP to suspend/resume functions

Artem Bityutskiy dedekind1 at gmail.com
Fri May 10 08:59:16 EDT 2013


On Tue, 2013-03-26 at 15:53 +0900, Jingoo Han wrote:
> Add CONFIG_PM_SLEEP to suspend/resume functions to fix the following
> build warning when CONFIG_PM_SLEEP is not selected. This is because
> sleep PM callbacks defined by SIMPLE_DEV_PM_OPS are only used when
> the CONFIG_PM_SLEEP is enabled. Also, unnecessary NULL defines are
> removed.

Pushed these 3 to l2-mtd.git, thanks!

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list