]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
mmc: sdio: Turn sdio_run_irqs() into static
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 18 Jun 2019 15:34:42 +0000 (17:34 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 20 Jun 2019 13:36:36 +0000 (15:36 +0200)
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>
drivers/mmc/core/sdio_irq.c
include/linux/mmc/host.h

index 9f54a259a1b36ed4053d56c1b6c5e054386bfd3d..0bcc5e83bd1a0b6774635d37d9cab881cee869b0 100644 (file)
@@ -92,7 +92,7 @@ static int process_sdio_pending_irqs(struct mmc_host *host)
        return ret;
 }
 
-void sdio_run_irqs(struct mmc_host *host)
+static void sdio_run_irqs(struct mmc_host *host)
 {
        mmc_claim_host(host);
        if (host->sdio_irqs) {
@@ -103,7 +103,6 @@ void sdio_run_irqs(struct mmc_host *host)
        }
        mmc_release_host(host);
 }
-EXPORT_SYMBOL_GPL(sdio_run_irqs);
 
 void sdio_irq_work(struct work_struct *work)
 {
index ecb7972e2423baa3891cc19ea14ca0a183e8d559..a9b12322c775a1419a83752fbd805c5c951f04da 100644 (file)
@@ -504,7 +504,6 @@ static inline void mmc_signal_sdio_irq(struct mmc_host *host)
                wake_up_process(host->sdio_irq_thread);
 }
 
-void sdio_run_irqs(struct mmc_host *host);
 void sdio_signal_irq(struct mmc_host *host);
 
 #ifdef CONFIG_REGULATOR