-
- Downloads
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>
Showing
- drivers/mmc/host/sdhci-bcm2835.c 1 addition, 1 deletiondrivers/mmc/host/sdhci-bcm2835.c
- drivers/mmc/host/sdhci-cns3xxx.c 1 addition, 1 deletiondrivers/mmc/host/sdhci-cns3xxx.c
- drivers/mmc/host/sdhci-dove.c 1 addition, 1 deletiondrivers/mmc/host/sdhci-dove.c
- drivers/mmc/host/sdhci-esdhc-imx.c 1 addition, 1 deletiondrivers/mmc/host/sdhci-esdhc-imx.c
- drivers/mmc/host/sdhci-of-esdhc.c 1 addition, 1 deletiondrivers/mmc/host/sdhci-of-esdhc.c
- drivers/mmc/host/sdhci-of-hlwd.c 1 addition, 1 deletiondrivers/mmc/host/sdhci-of-hlwd.c
- drivers/mmc/host/sdhci-pltfm.c 2 additions, 2 deletionsdrivers/mmc/host/sdhci-pltfm.c
- drivers/mmc/host/sdhci-pltfm.h 2 additions, 2 deletionsdrivers/mmc/host/sdhci-pltfm.h
- drivers/mmc/host/sdhci-tegra.c 4 additions, 4 deletionsdrivers/mmc/host/sdhci-tegra.c
Loading
Please register or sign in to comment