mmc: sdhci_pltfm: Constify sdhci_pltfm_data
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 13 Mar 2013 18:26:03 +0000 (19:26 +0100)
committerChris Ball <cjb@laptop.org>
Fri, 22 Mar 2013 17:00:06 +0000 (13:00 -0400)
commit1db5eebf22f86a87c3fcbbb085a4abbcfd09ee7d
tree90eac2d5bfaa90c8065bbf42ffb6bf6ff55f1fd1
parent91cf54feecf815bec0b6a8d6d9dbd0e219f2f2cc
mmc: sdhci_pltfm: Constify sdhci_pltfm_data

The sdhci_pltfm_data struct is never modified within the sdhci_pltfm
module. So make the pdata parameter to sdhci_pltfm_init and
sdhci_pltfm_register const.  This allows drivers to declare their
sdhci_pltfm_data struct as const.

This patch also makes the sdhci_pltfm_data declarations const where
possible.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-bcm2835.c
drivers/mmc/host/sdhci-cns3xxx.c
drivers/mmc/host/sdhci-dove.c
drivers/mmc/host/sdhci-esdhc-imx.c
drivers/mmc/host/sdhci-of-esdhc.c
drivers/mmc/host/sdhci-of-hlwd.c
drivers/mmc/host/sdhci-pltfm.c
drivers/mmc/host/sdhci-pltfm.h
drivers/mmc/host/sdhci-tegra.c