From: Daniel Walker Date: Wed, 23 Jun 2010 19:32:20 +0000 (-0700) Subject: mmc: msm: fix up build breakage on !PM X-Git-Tag: v2.6.36-rc1~22^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08ecfde47534ced67c3c16a15845456e83bd31d1;p=pandora-kernel.git mmc: msm: fix up build breakage on !PM with PM disabled I get the following compile error, drivers/built-in.o: In function `msmsdcc_resume': linux-2.6/drivers/mmc/host/msm_sdcc.c:1352: undefined reference to `mmc_resume_host' drivers/built-in.o: In function `msmsdcc_suspend': linux-2.6/drivers/mmc/host/msm_sdcc.c:1330: undefined reference to `mmc_suspend_host' This adds ifdefs around the suspend/resume functions to prevent this. Signed-off-by: Daniel Walker --- Reading git-diff-tree failed