mmc: mxs-mmc: copy wp_gpio in struct mxs_mmc_host
authorShawn Guo <shawn.guo@linaro.org>
Sun, 6 May 2012 05:33:40 +0000 (13:33 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sun, 13 May 2012 00:05:58 +0000 (08:05 +0800)
commit31b0ff5e7390a955f0d7279ab922e4b41469729d
treec626eda686845bfe4795a5614f8ed72ee921295f
parentb60188c820347040087bfe329f77b286dfd50a7e
mmc: mxs-mmc: copy wp_gpio in struct mxs_mmc_host

Copy wp_gpio from platform_data into struct mxs_mmc_host, so that
the use of platform_data can be limited in probe function, which
will ease the device tree probe.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/mxs-mmc.c