]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8cbf1b0f801b0cae382488dfd63cf9f4871f578d
tree7d893ce601b08ac630a14ecb5c5e7fe854968ba0
parent52b1e9a22aa2a3a1adaa6684b0da738547d50de3
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