mmc: dw_mmc: Make dw_mci_exynos_probe static
authorSachin Kamat <[email protected]>
Mon, 18 Feb 2013 08:53:08 +0000 (14:23 +0530)
committerChris Ball <[email protected]>
Tue, 12 Mar 2013 11:48:36 +0000 (07:48 -0400)
Silences the following sparse warning:
drivers/mmc/host/dw_mmc-exynos.c:218:5: warning:
symbol 'dw_mci_exynos_probe' was not declared. Should it be static?

Signed-off-by: Sachin Kamat <[email protected]>
Acked-by: Jaehoon Chung <[email protected]>
Acked-by: Seungwon Jeon <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
drivers/mmc/host/dw_mmc-exynos.c

index 72fd0f2c901312d1f98474ad4b4f016cf5f5cf39..5a09c779a937517091afce611a0b0974e1736039 100644 (file)
@@ -215,7 +215,7 @@ static const struct of_device_id dw_mci_exynos_match[] = {
 };
 MODULE_DEVICE_TABLE(of, dw_mci_exynos_match);
 
-int dw_mci_exynos_probe(struct platform_device *pdev)
+static int dw_mci_exynos_probe(struct platform_device *pdev)
 {
        const struct dw_mci_drv_data *drv_data;
        const struct of_device_id *match;