Skip to content

Commit

Permalink
mmc: dw_mmc: Make dw_mci_exynos_probe static
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Sachin Kamat authored and cjb committed Mar 12, 2013
1 parent 5ebf255 commit 9665f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/host/dw_mmc-exynos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9665f7f

Please sign in to comment.