aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2015-10-05 15:31:58 -0400
committerUlf Hansson <ulf.hansson@linaro.org>2015-10-26 11:00:05 -0400
commitf0cbd7806d736d77714994cc41c5161c0a29cccf (patch)
tree9757bfe8b9f620933e862f5d47e4d427bd702b49 /drivers/mmc
parent659c9bc114a810b3a3c1e50585cc57f1312a6d60 (diff)
mmc: sdhci-pci: Make sdhci_pci_o2_fujin2_pci_init() static
It has no external callers. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-pci-o2micro.c2
-rw-r--r--drivers/mmc/host/sdhci-pci-o2micro.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mmc/host/sdhci-pci-o2micro.c b/drivers/mmc/host/sdhci-pci-o2micro.c
index 9a5e1917b266..d48f03104b5b 100644
--- a/drivers/mmc/host/sdhci-pci-o2micro.c
+++ b/drivers/mmc/host/sdhci-pci-o2micro.c
@@ -60,7 +60,7 @@ static void o2_pci_led_enable(struct sdhci_pci_chip *chip)
60 60
61} 61}
62 62
63void sdhci_pci_o2_fujin2_pci_init(struct sdhci_pci_chip *chip) 63static void sdhci_pci_o2_fujin2_pci_init(struct sdhci_pci_chip *chip)
64{ 64{
65 u32 scratch_32; 65 u32 scratch_32;
66 int ret; 66 int ret;
diff --git a/drivers/mmc/host/sdhci-pci-o2micro.h b/drivers/mmc/host/sdhci-pci-o2micro.h
index f7ffc908d9a0..770f53857211 100644
--- a/drivers/mmc/host/sdhci-pci-o2micro.h
+++ b/drivers/mmc/host/sdhci-pci-o2micro.h
@@ -64,8 +64,6 @@
64#define O2_SD_VENDOR_SETTING 0x110 64#define O2_SD_VENDOR_SETTING 0x110
65#define O2_SD_VENDOR_SETTING2 0x1C8 65#define O2_SD_VENDOR_SETTING2 0x1C8
66 66
67extern void sdhci_pci_o2_fujin2_pci_init(struct sdhci_pci_chip *chip);
68
69extern int sdhci_pci_o2_probe_slot(struct sdhci_pci_slot *slot); 67extern int sdhci_pci_o2_probe_slot(struct sdhci_pci_slot *slot);
70 68
71extern int sdhci_pci_o2_probe(struct sdhci_pci_chip *chip); 69extern int sdhci_pci_o2_probe(struct sdhci_pci_chip *chip);