sdhci: don't assign mmc->caps at SDHCI directly
authorKyungmin Park <kyungmin.park@samsung.com>
Wed, 11 Aug 2010 01:01:44 +0000 (18:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Aug 2010 15:59:03 +0000 (08:59 -0700)
commitc1f5977c6a136acbf525c634c8511e19d0c1f195
tree404ef41ded924ff55fae708933c7fb80c2117328
parentae6d6c92212e94b12ab9365c23fb73acc2c3c2e7
sdhci: don't assign mmc->caps at SDHCI directly

Some host controllers can set mmc->caps before sdhci_add_host().

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/host/sdhci.c