Skip to contentSkip to conversation

exynos: mmc: use correct variable for MODULE_DEVICE_TABLE

PATCH In review Sergei Trofimovich 3 participants 3 messages Oct 30, 2012 – Nov 1, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 exynos: mmc: use correct variable for MODULE_DEVICE_TABLE

From: Sergei Trofimovich <[email protected]>

Found by gcc:

linux-2.6/drivers/mmc/host/dw_mmc-exynos.c: At top level:
linux-2.6/drivers/mmc/host/dw_mmc-exynos.c:226:1: error: '__mod_of_device_table' aliased to undefined symbol 'dw_mci_pltfm_match'

---
 drivers/mmc/host/dw_mmc-exynos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/dw_mmc-exynos.c +1 -1
index 660bbc5..0147ac3a 100644
@@ -223,7 +223,7 @@ static const struct of_device_id dw_mci_exynos_match[] = {
 			.data = (void *)&exynos5250_drv_data, },
 	{},
 };
-MODULE_DEVICE_TABLE(of, dw_mci_pltfm_match);
+MODULE_DEVICE_TABLE(of, dw_mci_exynos_match);
 
 int dw_mci_exynos_probe(struct platform_device *pdev)
 {
Signature · 1 line
1.7.12.4
maintainer Acked-by on v1 1/1
#1 lore raw

Looks good to me.

Quoted 31 lines · Sergei Trofimovich

From: Sergei Trofimovich <[email protected]>

Found by gcc:

linux-2.6/drivers/mmc/host/dw_mmc-exynos.c: At top level:
linux-2.6/drivers/mmc/host/dw_mmc-exynos.c:226:1: error: '__mod_of_device_table' aliased to undefined symbol 'dw_mci_pltfm_match'

---
 drivers/mmc/host/dw_mmc-exynos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/dw_mmc-exynos.c +1 -1
index 660bbc5..0147ac3a 100644
@@ -223,7 +223,7 @@ static const struct of_device_id dw_mci_exynos_match[] = {
 			.data = (void *)&exynos5250_drv_data, },
 	{},
 };
-MODULE_DEVICE_TABLE(of, dw_mci_pltfm_match);
+MODULE_DEVICE_TABLE(of, dw_mci_exynos_match);
 
 int dw_mci_exynos_probe(struct platform_device *pdev)
 {
Acked-by on v1 1/1
#2 lore raw
In reply to Sergei Trofimovich
Quoted 8 lines · Sergei Trofimovich

From: Sergei Trofimovich <[email protected]>

Found by gcc:

linux-2.6/drivers/mmc/host/dw_mmc-exynos.c: At top level:
linux-2.6/drivers/mmc/host/dw_mmc-exynos.c:226:1: error: '__mod_of_device_table' aliased to
undefined symbol 'dw_mci_pltfm_match'

Quoted 7 lines

---

I suggest changing the prefix of subject.
'mmc: dw_mmc-exynos' instead of 'exynos: mmc'

Thanks,
Seungwon Jeon