projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21f67c2
)
mmc: dw_mmc-socfpga: Staticize dw_mci_socfpga_probe
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 12 Sep 2013 06:46:36 +0000
(12:16 +0530)
committer
Chris Ball
<cjb@laptop.org>
Thu, 26 Sep 2013 01:57:35 +0000
(21:57 -0400)
'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>
drivers/mmc/host/dw_mmc-socfpga.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/dw_mmc-socfpga.c
b/drivers/mmc/host/dw_mmc-socfpga.c
index 8e8e2050f3e74cfc036de3a551716c68572fe4ea..3e8e53ae3302b7231c64acaf7de991b6e6861b35 100644
(file)
--- 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;