From: Chuanxiao Dong Date: Mon, 23 Apr 2012 07:18:02 +0000 (+0800) Subject: mmc: core: check PM_SLEEP for mmc_bus_suspend/resume callbacks X-Git-Tag: v3.5-rc1~85^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dd1bfeb6cc89467261cc62ca81e0ac5da78ec0a;p=pandora-kernel.git 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 Signed-off-by: Chuanxiao Dong Signed-off-by: Chris Ball --- Reading git-diff-tree failed