diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-05-01 17:49:19 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-06-01 09:06:50 +0200 |
commit | f2483b0d196ce2d967a92b7b1217553550d6d053 (patch) | |
tree | cacfc4d31d6dbf1b9544c5b69d1d2f45e691cb0a /drivers/mmc/host/rtsx_pci_sdmmc.c | |
parent | mmc: mxs: Constify platform_device_id (diff) | |
download | linux-f2483b0d196ce2d967a92b7b1217553550d6d053.tar.xz linux-f2483b0d196ce2d967a92b7b1217553550d6d053.zip |
mmc: rtsx: 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>
Diffstat (limited to 'drivers/mmc/host/rtsx_pci_sdmmc.c')
-rw-r--r-- | drivers/mmc/host/rtsx_pci_sdmmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/rtsx_pci_sdmmc.c b/drivers/mmc/host/rtsx_pci_sdmmc.c index 1d3d6c4bfdc6..93137483ecde 100644 --- a/drivers/mmc/host/rtsx_pci_sdmmc.c +++ b/drivers/mmc/host/rtsx_pci_sdmmc.c @@ -1474,7 +1474,7 @@ static int rtsx_pci_sdmmc_drv_remove(struct platform_device *pdev) return 0; } -static struct platform_device_id rtsx_pci_sdmmc_ids[] = { +static const struct platform_device_id rtsx_pci_sdmmc_ids[] = { { .name = DRV_NAME_RTSX_PCI_SDMMC, }, { |