* msm_sdcc.c: remove references to htc_pwrsink
@ 2009-10-22 7:19 Pavel Machek
0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2009-10-22 7:19 UTC (permalink / raw)
To: linux-mmc, kernel list, Andrew Morton
htc_pwrsing code never went to mainline, remove references to it.
Signed-off-by: Pavel Machek <pavel@ucw.cz>
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
index dba4600..64d4e48 100644
--- a/drivers/mmc/host/msm_sdcc.c
+++ b/drivers/mmc/host/msm_sdcc.c
@@ -41,7 +41,6 @@
#include <asm/mach/mmc.h>
#include <mach/msm_iomap.h>
#include <mach/dma.h>
-#include <mach/htc_pwrsink.h>
#include "msm_sdcc.h"
@@ -775,13 +774,11 @@ msmsdcc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
switch (ios->power_mode) {
case MMC_POWER_OFF:
- htc_pwrsink_set(PWRSINK_SDCARD, 0);
break;
case MMC_POWER_UP:
pwr |= MCI_PWR_UP;
break;
case MMC_POWER_ON:
- htc_pwrsink_set(PWRSINK_SDCARD, 100);
pwr |= MCI_PWR_ON;
break;
}
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-10-22 7:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-22 7:19 msm_sdcc.c: remove references to htc_pwrsink Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox