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.
Unified · Split
| @@ -92,7 +92,7 @@ static int process_sdio_pending_irqs(struct mmc_host *host) · 91 unmodified lines | |||
| 92 | return ret; | 92 | return ret; |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | void sdio_run_irqs(struct mmc_host *host) | 95 | static void sdio_run_irqs(struct mmc_host *host) |
| 96 | { | 96 | { |
| 97 | mmc_claim_host(host); | 97 | mmc_claim_host(host); |
| 98 | if (host->sdio_irqs) { | 98 | if (host->sdio_irqs) { |
| @@ -103,7 +103,6 @@ void sdio_run_irqs(struct mmc_host *host) · 4 unmodified lines | |||
| 103 | } | 103 | } |
| 104 | mmc_release_host(host); | 104 | mmc_release_host(host); |
| 105 | } | 105 | } |
| 106 | EXPORT_SYMBOL_GPL(sdio_run_irqs); | ||
| 107 | 106 | ||
| 108 | void sdio_irq_work(struct work_struct *work) | 107 | void sdio_irq_work(struct work_struct *work) |
| 109 | { | 108 | { |
| @@ -504,7 +504,6 @@ static inline void mmc_signal_sdio_irq(struct mmc_host *host) · 503 unmodified lines | |||
| 504 | wake_up_process(host->sdio_irq_thread); | 504 | wake_up_process(host->sdio_irq_thread); |
| 505 | } | 505 | } |
| 506 | 506 | ||
| 507 | void sdio_run_irqs(struct mmc_host *host); | ||
| 508 | void sdio_signal_irq(struct mmc_host *host); | 507 | void sdio_signal_irq(struct mmc_host *host); |
| 509 | 508 | ||
| 510 | #ifdef CONFIG_REGULATOR | 509 | #ifdef CONFIG_REGULATOR |