mmc: msm_sdcc: move SDIO wakeup pin configuration to driver file
If SDIO slot is using the dedicated MSM pins rather than GPIO
pins then SDIO wakeup configuration interrupt would require
calling msm_mpm_* APIs. As of now this configuration was
happening by a function in board file which gets invoked from
driver file whenever needed.
So this change moves this SDIO wakeup pin configuration function
inside SDCC driver file so each and every platform which requires
SDIO wakeup configuration need not to duplication this same
function in their platform board files.
Change-Id: I0562dd24261a154edaaddd35c1ee5dd1f0ace9df
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
diff --git a/arch/arm/include/asm/mach/mmc.h b/arch/arm/include/asm/mach/mmc.h
index 3dfb62f..7a5b21a 100644
--- a/arch/arm/include/asm/mach/mmc.h
+++ b/arch/arm/include/asm/mach/mmc.h
@@ -141,7 +141,7 @@
unsigned int msmsdcc_fmax;
bool nonremovable;
bool pclk_src_dfab;
- int (*cfg_mpm_sdiowakeup)(struct device *, unsigned);
+ unsigned int mpm_sdiowakeup_int;
unsigned int wpswitch_gpio;
unsigned char wpswitch_polarity;
struct msm_mmc_slot_reg_data *vreg_data;