From: Arnd Bergmann Date: Tue, 6 Nov 2012 21:55:31 +0000 (+0100) Subject: mmc: dw_mmc: constify dw_mci_idmac_ops in exynos back-end X-Git-Tag: v3.7-rc5~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e2b36ea6e3abc613cbbdb41692fbd2f9ee18996;p=pandora-kernel.git mmc: dw_mmc: constify dw_mci_idmac_ops in exynos back-end The of_device_id match data is now marked as const and must not be modified. This changes the dw_mmc to mark all pointers passing the dw_mci_drv_data or dw_mci_dma_ops structures as const, and also marks the static definitions as const. drivers/mmc/host/dw_mmc-exynos.c: In function 'dw_mci_exynos_probe': drivers/mmc/host/dw_mmc-exynos.c:234:11: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] Signed-off-by: Arnd Bergmann Cc: Thomas Abraham Cc: Will Newton Signed-off-by: Chris Ball --- Reading git-diff-tree failed