mmc: omap_hsmmc: Skip platform_get_resource_byname() for dt case mmc-fixes-for-3.10-rc5
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Fri, 10 May 2013 12:12:35 +0000 (17:42 +0530)
committerChris Ball <cjb@laptop.org>
Sun, 26 May 2013 18:23:11 +0000 (14:23 -0400)
commit4a29b5591faf25555fdf2b717594d50f70c15066
tree2fdb1e312c63c7c6556c693138507a836d87f289
parentd272fbf0ca4a59339c768d76858f4add6ff36ace
mmc: omap_hsmmc: Skip platform_get_resource_byname() for dt case

MMC driver probe will abort for DT case because of failed
platform_get_resource_byname() lookup. Fix it by skipping resource
lookup byname for device tree build.

Issue is hidden because hwmod populates the IO resources which
helps to succeed platform_get_resource_byname() and probe.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap_hsmmc.c