dwmci: pltfm: Fix build warning in dwmci platform driver
authorAbhilash Kesavan <a.kesavan@samsung.com>
Tue, 15 May 2012 21:43:52 +0000 (14:43 -0700)
committerAbhilash Kesavan <a.kesavan@samsung.com>
Tue, 19 Jun 2012 09:34:36 +0000 (15:04 +0530)
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>

drivers/mmc/host/dw_mmc-pltfm.c

index bc61c24..5cae1b5 100644 (file)
@@ -37,7 +37,7 @@ static unsigned long exynos5250_dwmmc_caps[4] = {
 
 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[] = {