Fix the following build warning in dwmci platform driver:
drivers/mmc/host/dw_mmc-pltfm.c:40:2: warning: initialization from incompatible
pointer type [enabled by default]
drivers/mmc/host/dw_mmc-pltfm.c:40:2: warning: (near initialization for
'exynos5250_drv_data.caps') [enabled by default]
BUG=chrome-os-partner:9696
TEST=build and boot on SMDK
Change-Id: I152337547fdaae667f9f90b156c9ded9c473e7f6
Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Reviewed-on: https://gerrit-int.chromium.org/17822
Reviewed-by: Olof Johansson <olofj@google.com>
Tested-by: Olof Johansson <olofj@google.com>
Commit-Ready: Olof Johansson <olofj@google.com>
static struct dw_mci_drv_data exynos5250_drv_data = {
.ctrl_type = DW_MCI_TYPE_EXYNOS5250,
- .caps = &exynos5250_dwmmc_caps,
+ .caps = exynos5250_dwmmc_caps,
};
static const struct of_device_id dw_mci_pltfm_match[] = {