mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 07:34:12 +08:00
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: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
ed425fc46b
commit
f61fcc32a9
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user