Thread (18 messages) 18 messages, 2 authors, 2012-09-21

RE: [PATCH v6 9/9] mmc: dw_mmc: add support for exynos specific implementation of dw-mshc

From: Seungwon Jeon <hidden>
Date: 2012-09-21 02:27:11
Also in: linux-mmc, linux-samsung-soc

On Thursday, September 20, 2012, Thomas Abraham [off-list ref] wrote:
On 19 September 2012 19:12, Seungwon Jeon [off-list ref] wrote:
quoted
On Tuesday, September 18, 2012, Thomas Abraham [off-list ref] wrote:
quoted
+int dw_mci_exynos_probe(struct platform_device *pdev)
+{
+     struct dw_mci_drv_data *drv_data;
+     const struct of_device_id *match;
+
+     match = of_match_node(dw_mci_exynos_match, pdev->dev.of_node);
+     drv_data = match->data;
In non-dt case, match has NULL.
Needed to check "pdev->dev.of_node"
Since all current users in mainline of this driver on Exynos platforms
are device tree based, and since Exynos4 and Exynos5 have device tree
support, I have mainly been adding device tree support here. Only for
non-exynos portions of the code, I have ensured that both dt and
legacy modes are supported.
Yes. I know, then dw_mmc-exynos.c should have a dependency of CONFIG_OF?
It needs to prevent kernel panic at least.

Thanks,
Seungwon Jeon
Thanks,
Seungwon Jeon
Thanks,
Thomas.

[...]
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help