MLK-15288-1 fsl_usdhc: Fix typo error for i.MX8M
authorYe Li <ye.li@nxp.com>
Tue, 27 Jun 2017 02:28:08 +0000 (21:28 -0500)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:36:57 +0000 (02:36 +0800)
Got the build warning below due to the typo error. Fix it.

drivers/mmc/fsl_esdhc.c: In function ‘check_and_invalidate_dcache_range’:
drivers/mmc/fsl_esdhc.c:355:10: warning: cast from pointer to integer
of different size [-Wpointer-to-int-cast]
 start = (unsigned)data->dest;

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/fsl_esdhc.c

index e801b29..9b17a57 100644 (file)
@@ -343,7 +343,7 @@ static void check_and_invalidate_dcache_range
        unsigned size = roundup(ARCH_DMA_MINALIGN,
                                data->blocks*data->blocksize);
 #if defined(CONFIG_FSL_LAYERSCAPE) || defined(CONFIG_S32V234) || \
-       defined(CONFIG_IMX8) || defined(IMX8M)
+       defined(CONFIG_IMX8) || defined(CONFIG_IMX8M)
        dma_addr_t addr;
 
        addr = virt_to_phys((void *)(data->dest));