]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: check PM_SLEEP for mmc_bus_suspend/resume callbacks
authorChuanxiao Dong <chuanxiao.dong@intel.com>
Mon, 23 Apr 2012 07:18:02 +0000 (15:18 +0800)
committerChris Ball <cjb@laptop.org>
Mon, 23 Apr 2012 12:11:28 +0000 (08:11 -0400)
commit38351e5a8f05a3b9bbe259c2365be876a605a54f
tree5edbba5851edd21d4e1c51b75fc25e5209144357
parentd527e40db89a3f6e402d65b24bb176bb1f2c973e
mmc: core: check PM_SLEEP for mmc_bus_suspend/resume callbacks

If PM_SLEEP is not enabled, mmc.c will give warnning since mmc_bus_suspend/
mmc_bus_resume functions are defined but not used. This patch can fix this
warnning.

Reported-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/bus.c