commit | 0dd1bfeb6cc89467261cc62ca81e0ac5da78ec0a | [log] [tgz] |
---|---|---|
author | Chuanxiao Dong <chuanxiao.dong@intel.com> | Mon Apr 23 15:18:02 2012 +0800 |
committer | Chris Ball <cjb@laptop.org> | Mon Apr 23 08:11:28 2012 -0400 |
tree | 5edbba5851edd21d4e1c51b75fc25e5209144357 | |
parent | 48b332f9916f33ba0001b78e5cea49ef17f3c81e [diff] |
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>