mmc: make mmc_dev_to_card() macro public
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Fri, 20 Aug 2010 07:46:46 +0000 (10:46 +0300)
committerChris Ball <cjb@laptop.org>
Sat, 23 Oct 2010 13:11:12 +0000 (21:11 +0800)
commit453722b9f7366e5b8b46101358dd7bcaef62b59d
treedecce1983521459f06ccd63563074114f17a7a52
parent12578f66b9058e63f193fbfe1552e1d1bfa361bb
mmc: make mmc_dev_to_card() macro public

Conversion from struct device to struct mmc_card is used more than in one
place.  Due to this it's better to have public macro for such thing.

Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com>
Cc: Adrian Hunter <adrian.hunter@nokia.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/mmc_test.c
drivers/mmc/core/bus.c
drivers/mmc/core/bus.h
include/linux/mmc/card.h