summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/dw_mmc-socfpga.c
diff options
context:
space:
mode:
authorSachin Kamat2013-09-12 08:46:36 +0200
committerChris Ball2013-09-26 03:57:35 +0200
commit08de89b7915afaba00164f2a972290b86aa27e6d (patch)
treea1c174e289442af5c784d027594e2fa87fc816b8 /drivers/mmc/host/dw_mmc-socfpga.c
parentmmc: dw_mmc-socfpga: Remove redundant of_match_ptr (diff)
downloadkernel-qcow2-linux-08de89b7915afaba00164f2a972290b86aa27e6d.tar.gz
kernel-qcow2-linux-08de89b7915afaba00164f2a972290b86aa27e6d.tar.xz
kernel-qcow2-linux-08de89b7915afaba00164f2a972290b86aa27e6d.zip
mmc: dw_mmc-socfpga: Staticize dw_mci_socfpga_probe
'dw_mci_socfpga_probe' is used only in this file. Make it static. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/dw_mmc-socfpga.c')
-rw-r--r--drivers/mmc/host/dw_mmc-socfpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc-socfpga.c b/drivers/mmc/host/dw_mmc-socfpga.c
index 8e8e2050f3e7..3e8e53ae3302 100644
--- a/drivers/mmc/host/dw_mmc-socfpga.c
+++ b/drivers/mmc/host/dw_mmc-socfpga.c
@@ -111,7 +111,7 @@ static const struct of_device_id dw_mci_socfpga_match[] = {
};
MODULE_DEVICE_TABLE(of, dw_mci_socfpga_match);
-int dw_mci_socfpga_probe(struct platform_device *pdev)
+static int dw_mci_socfpga_probe(struct platform_device *pdev)
{
const struct dw_mci_drv_data *drv_data;
const struct of_device_id *match;