diff options
-rw-r--r-- | drivers/mmc/host/sdhci-bcm-kona.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-bcm-kona.c b/drivers/mmc/host/sdhci-bcm-kona.c index 9ec7ca5dbcee..85472d3fd37f 100644 --- a/drivers/mmc/host/sdhci-bcm-kona.c +++ b/drivers/mmc/host/sdhci-bcm-kona.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <linux/of.h> | 24 | #include <linux/of.h> |
25 | #include <linux/of_device.h> | 25 | #include <linux/of_device.h> |
26 | #include <linux/of_gpio.h> | 26 | #include <linux/of_gpio.h> |
27 | #include <linux/version.h> | ||
28 | #include <linux/mmc/slot-gpio.h> | 27 | #include <linux/mmc/slot-gpio.h> |
29 | 28 | ||
30 | #include "sdhci-pltfm.h" | 29 | #include "sdhci-pltfm.h" |
@@ -162,7 +161,7 @@ static int sdhci_bcm_kona_sd_card_emulate(struct sdhci_host *host, int insert) | |||
162 | /* | 161 | /* |
163 | * SD card interrupt event callback | 162 | * SD card interrupt event callback |
164 | */ | 163 | */ |
165 | void sdhci_bcm_kona_card_event(struct sdhci_host *host) | 164 | static void sdhci_bcm_kona_card_event(struct sdhci_host *host) |
166 | { | 165 | { |
167 | if (mmc_gpio_get_cd(host->mmc) > 0) { | 166 | if (mmc_gpio_get_cd(host->mmc) > 0) { |
168 | dev_dbg(mmc_dev(host->mmc), | 167 | dev_dbg(mmc_dev(host->mmc), |