Skip to content

Commit cf4b20e

Browse files
author
Ulf Hansson
committed
mmc: sdio: Turn sdio_run_irqs() into static
All external users of sdio_run_irqs() have converted into using the preferred sdio_signal_irq() interface, thus not calling the function directly any more. Avoid further new users of it, by turning it into static. Suggested-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 9d767dc commit cf4b20e

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

‎drivers/mmc/core/sdio_irq.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static int process_sdio_pending_irqs(struct mmc_host *host)
9292
return ret;
9393
}
9494

95-
void sdio_run_irqs(struct mmc_host *host)
95+
static void sdio_run_irqs(struct mmc_host *host)
9696
{
9797
mmc_claim_host(host);
9898
if (host->sdio_irqs) {
@@ -103,7 +103,6 @@ void sdio_run_irqs(struct mmc_host *host)
103103
}
104104
mmc_release_host(host);
105105
}
106-
EXPORT_SYMBOL_GPL(sdio_run_irqs);
107106

108107
void sdio_irq_work(struct work_struct *work)
109108
{

‎include/linux/mmc/host.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,6 @@ static inline void mmc_signal_sdio_irq(struct mmc_host *host)
504504
wake_up_process(host->sdio_irq_thread);
505505
}
506506

507-
void sdio_run_irqs(struct mmc_host *host);
508507
void sdio_signal_irq(struct mmc_host *host);
509508

510509
#ifdef CONFIG_REGULATOR

0 commit comments

Comments
 (0)