linux/drivers/mmc/host
Rajendra Nayak 4d048f915f mmc: omap_hsmmc: Get rid of of_have_populated_dt() usage
of_have_populated_dt() is not expected to be used in drivers but
instead only in early platform init code.
Drivers on the other hand should rely on dev->of_node or of_match_device().
Besides usage of of_have_populated_dt() also throws up build error as below
which was reported by Balaji TK, when omap_hsmmc is built as a module.

ERROR: "allnodes" [drivers/mmc/host/omap_hsmmc.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

So get rid of all of_have_populated_dt() usage in omap_hsmmc driver and
instead use dev->of_node to make the same dicisions as earlier.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Reported-by: Benoit Cousson <b-cousson@ti.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
2012-04-20 20:29:08 -04:00
..
at91_mci.c ARM: at91: code removal of CAP9 SoC 2012-02-03 13:33:05 +01:00
at91_mci.h
atmel-mci-regs.h mmc: atmel-mci: add support for odd clock dividers 2012-04-05 20:32:22 -04:00
atmel-mci.c mmc: atmel-mci: add support for odd clock dividers 2012-04-05 20:32:22 -04:00
au1xmmc.c
bfin_sdh.c mmc: convert drivers/mmc/host/* to use module_platform_driver() 2012-01-11 23:58:42 -05:00
cb710-mmc.c mmc: convert drivers/mmc/host/* to use module_platform_driver() 2012-01-11 23:58:42 -05:00
cb710-mmc.h
davinci_mmc.c mmc: davinci: Poll status for small size transfers 2012-03-27 12:20:11 -04:00
dw_mmc-pci.c mmc: Support of PCI mode in the dw_mmc driver 2012-03-25 19:33:44 -04:00
dw_mmc-pltfm.c mmc: Support of PCI mode in the dw_mmc driver 2012-03-25 19:33:44 -04:00
dw_mmc.c mmc: dw_mmc: Regression fix for non-IDMAC DMA 2012-03-27 12:19:57 -04:00
dw_mmc.h mmc: Support of PCI mode in the dw_mmc driver 2012-03-25 19:33:44 -04:00
imxmmc.c
imxmmc.h
jz4740_mmc.c mmc: convert drivers/mmc/host/* to use module_platform_driver() 2012-01-11 23:58:42 -05:00
Kconfig MMC highlights for 3.4: 2012-03-28 20:59:45 -07:00
Makefile mmc: Support of PCI mode in the dw_mmc driver 2012-03-25 19:33:44 -04:00
mmc_spi.c
mmci.c Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2012-03-29 15:34:57 -07:00
mmci.h ARM: 7280/1: mmc: mmci: Cache MMCICLOCK and MMCIPOWER register 2012-02-02 17:02:15 +00:00
msm_sdcc.c mmc: remove the second argument of k[un]map_atomic() 2012-01-11 23:58:42 -05:00
msm_sdcc.h
mvsdio.c
mvsdio.h
mxcmmc.c dmaengine/dma_slave: introduce inline wrappers 2012-03-21 19:20:22 +05:30
mxs-mmc.c MTD merge for 3.4 2012-03-30 17:31:56 -07:00
of_mmc_spi.c mmc: of_mmc_spi: fix little endian support 2012-02-13 20:38:58 -05:00
omap_hsmmc.c mmc: omap_hsmmc: Get rid of of_have_populated_dt() usage 2012-04-20 20:29:08 -04:00
omap.c
pxamci.c mmc: convert drivers/mmc/host/* to use module_platform_driver() 2012-01-11 23:58:42 -05:00
pxamci.h
s3cmci.c mmc: Fix typo in s3cmci.c 2012-02-05 17:14:47 +01:00
s3cmci.h
sdhci-cns3xxx.c mmc: convert drivers/mmc/host/* to use module_platform_driver() 2012-01-11 23:58:42 -05:00
sdhci-dove.c mmc: sdhci-dove: Fix compile error by including module.h 2012-04-05 20:32:33 -04:00
sdhci-esdhc-imx.c Merge branch 'next/fixes-non-critical' into next/drivers 2012-03-20 22:42:24 +00:00
sdhci-esdhc.h
sdhci-of-esdhc.c mmc: esdhc: Workaround for data crc error on p1010rdb 2012-03-25 19:33:45 -04:00
sdhci-of-hlwd.c mmc: convert drivers/mmc/host/* to use module_platform_driver() 2012-01-11 23:58:42 -05:00
sdhci-pci-data.c mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00
sdhci-pci.c Revert "mmc: sdhci-pci: Add MSI support" 2012-04-05 20:32:32 -04:00
sdhci-pltfm.c mmc: esdhc: set the timeout to the max value 2012-02-13 20:38:59 -05:00
sdhci-pltfm.h
sdhci-pxav2.c mmc: convert drivers/mmc/host/* to use module_platform_driver() 2012-01-11 23:58:42 -05:00
sdhci-pxav3.c mmc: convert drivers/mmc/host/* to use module_platform_driver() 2012-01-11 23:58:42 -05:00
sdhci-s3c.c mmc: sdhci-s3c: Enable runtime power management 2012-04-05 20:32:20 -04:00
sdhci-spear.c mmc: sdhci-spear: add pm callbacks to support hibernation 2012-03-27 12:20:03 -04:00
sdhci-tegra.c MMC highlights for 3.4: 2012-03-28 20:59:45 -07:00
sdhci.c mmc: Prevent 1.8V switch for SD hosts that don't support UHS modes. 2012-04-05 20:32:32 -04:00
sdhci.h mmc: sdhci: Add platform suspend/resume hooks. 2012-03-25 19:33:44 -04:00
sdricoh_cs.c
sh_mmcif.c mmc: sh_mmcif: Simplify calculation of mmc->f_min 2012-04-05 20:32:24 -04:00
sh_mobile_sdhi.c mmc: sh_mobile_sdhi: support modular mmc-core with non-standard hotplug 2012-03-27 12:20:19 -04:00
tifm_sd.c Autogenerated GPG tag for Rusty D1ADB8F1: 15EE 8D6C AB0E 7F0C F999 BFCB D920 0E6C D1AD B8F1 2012-01-14 12:32:16 -08:00
tmio_mmc_dma.c Merge branch 'next' of git://git.infradead.org/users/vkoul/slave-dma 2012-03-29 15:34:57 -07:00
tmio_mmc_pio.c mmc: tmio: cosmetic: prettify the tmio_mmc_set_ios() function 2012-03-27 12:20:18 -04:00
tmio_mmc.c mmc: convert drivers/mmc/host/* to use module_platform_driver() 2012-01-11 23:58:42 -05:00
tmio_mmc.h mmc: tmio_mmc: remove unused sdio_irq_enabled flag 2012-03-27 12:20:17 -04:00
ushc.c
via-sdmmc.c
vub300.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
wbsd.c
wbsd.h