mmc: sdhci-pltfm: Add structure for host-specific data
authorWolfram Sang <w.sang@pengutronix.de>
Fri, 15 Oct 2010 10:20:59 +0000 (12:20 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 23 Oct 2010 13:11:21 +0000 (21:11 +0800)
commit4b711cb13843f5082e82970dd1e8031383134a65
tree7d893ce601b08ac630a14ecb5c5e7fe854968ba0
parent9ffca8300abe4bd7260b77b2f82afb01384faabc
mmc: sdhci-pltfm: Add structure for host-specific data

We need to carry some information per host, e.g. the clock. Add a
structure for it and initialize it in the generic part. Also improve
the check for a parent.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Richard Röjfors <richard.rojfors.ext@mocean-labs.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pltfm.c
drivers/mmc/host/sdhci-pltfm.h