Skip to content

Commit 2f05b6a

Browse files
huzijistorulf
authored andcommitted
mmc: sdhci: Export sdhci_enable_sdio_irq() from sdhci.c
Export sdhci_enable_sdio_irq() from sdhci.c. Thus vendor SDHC driver can implement its specific SDIO irq control. Signed-off-by: Hu Ziji <[email protected]> Signed-off-by: Gregory CLEMENT <[email protected]> Acked-by: Adrian Hunter <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent c376ea9 commit 2f05b6a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

drivers/mmc/host/sdhci.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1832,7 +1832,7 @@ static void sdhci_enable_sdio_irq_nolock(struct sdhci_host *host, int enable)
18321832
}
18331833
}
18341834

1835-
static void sdhci_enable_sdio_irq(struct mmc_host *mmc, int enable)
1835+
void sdhci_enable_sdio_irq(struct mmc_host *mmc, int enable)
18361836
{
18371837
struct sdhci_host *host = mmc_priv(mmc);
18381838
unsigned long flags;
@@ -1852,6 +1852,7 @@ static void sdhci_enable_sdio_irq(struct mmc_host *mmc, int enable)
18521852
if (!enable)
18531853
pm_runtime_put_noidle(host->mmc->parent);
18541854
}
1855+
EXPORT_SYMBOL_GPL(sdhci_enable_sdio_irq);
18551856

18561857
int sdhci_start_signal_voltage_switch(struct mmc_host *mmc,
18571858
struct mmc_ios *ios)

drivers/mmc/host/sdhci.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,7 @@ int sdhci_execute_tuning(struct mmc_host *mmc, u32 opcode);
706706
void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios);
707707
int sdhci_start_signal_voltage_switch(struct mmc_host *mmc,
708708
struct mmc_ios *ios);
709+
void sdhci_enable_sdio_irq(struct mmc_host *mmc, int enable);
709710

710711
#ifdef CONFIG_PM
711712
int sdhci_suspend_host(struct sdhci_host *host);

0 commit comments

Comments
 (0)