diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2019-06-18 17:34:42 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-06-20 15:36:36 +0200 |
commit | cf4b20ecfa4edc4a0e55d52bc0a735f60bdfe7eb (patch) | |
tree | 7f6f369704a4782b567deb1fbb74f4034d858631 /drivers/mmc/core | |
parent | 9d767dc55208f19f81767a2aa775f36010a1fb14 (diff) | |
download | linux-cf4b20ecfa4edc4a0e55d52bc0a735f60bdfe7eb.tar.gz linux-cf4b20ecfa4edc4a0e55d52bc0a735f60bdfe7eb.tar.bz2 linux-cf4b20ecfa4edc4a0e55d52bc0a735f60bdfe7eb.zip |
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>
Diffstat (limited to 'drivers/mmc/core')
-rw-r--r-- | drivers/mmc/core/sdio_irq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/core/sdio_irq.c b/drivers/mmc/core/sdio_irq.c index 9f54a259a1b3..0bcc5e83bd1a 100644 --- a/drivers/mmc/core/sdio_irq.c +++ b/drivers/mmc/core/sdio_irq.c @@ -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) { |