Commit f61fcc32 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Ulf Hansson

mmc: mxs: Constify platform_device_id

The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent ed425fc4
...@@ -549,7 +549,7 @@ static const struct mmc_host_ops mxs_mmc_ops = { ...@@ -549,7 +549,7 @@ static const struct mmc_host_ops mxs_mmc_ops = {
.enable_sdio_irq = mxs_mmc_enable_sdio_irq, .enable_sdio_irq = mxs_mmc_enable_sdio_irq,
}; };
static struct platform_device_id mxs_ssp_ids[] = { static const struct platform_device_id mxs_ssp_ids[] = {
{ {
.name = "imx23-mmc", .name = "imx23-mmc",
.driver_data = IMX23_SSP, .driver_data = IMX23_SSP,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment