diff options
author | Prabhakar Kushwaha <prabhakar@freescale.com> | 2015-10-25 13:18:25 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-11-12 15:59:00 -0500 |
commit | 41f7be3c78e793535e484e5f5010cc98410598de (patch) | |
tree | ee748802a32b98280e1bcaadeeac44eb1ab8380d /drivers/mmc/mmc.c | |
parent | 4e4ad6d140cf65756c1ccdc9dba71dbf86cd3041 (diff) | |
download | u-boot-imx-41f7be3c78e793535e484e5f5010cc98410598de.zip u-boot-imx-41f7be3c78e793535e484e5f5010cc98410598de.tar.gz u-boot-imx-41f7be3c78e793535e484e5f5010cc98410598de.tar.bz2 |
driver: dwmmc: Fix pointer conversion warnings for hikey
Fix below compilation warings happening for hikey_defconfig
drivers/mmc/dw_mmc.c: In function ‘dwmci_set_idma_desc’:
drivers/mmc/dw_mmc.c:43:20: warning: cast from pointer to integer
of different size [-Wpointer-to-int-cast]
desc->next_addr = (unsigned int)desc + sizeof(struct dwmci_idmac);
^
drivers/mmc/dw_mmc.c: In function ‘dwmci_prepare_data’:
drivers/mmc/dw_mmc.c:61:35: warning: cast from pointer to integer
of different size [-Wpointer-to-int-cast]
dwmci_writel(host, DWMCI_DBADDR, (unsigned int)cur_idmac);
^
drivers/mmc/dw_mmc.c:73:9: warning: cast from pointer to integer
of different size [-Wpointer-to-int-cast]
(u32)bounce_buffer + (i * PAGE_SIZE));
^
CC drivers/mmc/hi6220_dw_mmc.o
drivers/mmc/hi6220_dw_mmc.c: In function ‘hi6220_dwmci_add_port’:
drivers/mmc/hi6220_dw_mmc.c:51:17: warning: cast to pointer from integer
of different size [-Wint-to-pointer-cast]
host->ioaddr = (void *)regbase;
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Diffstat (limited to 'drivers/mmc/mmc.c')
0 files changed, 0 insertions, 0 deletions