mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 09:36:45 +07:00
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>
This commit is contained in:
parent
f61fcc32a9
commit
f2483b0d19
@ -1474,7 +1474,7 @@ static int rtsx_pci_sdmmc_drv_remove(struct platform_device *pdev)
|
|||||||
return 0;
|
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,
|
.name = DRV_NAME_RTSX_PCI_SDMMC,
|
||||||
}, {
|
}, {
|
||||||
|
@ -1439,7 +1439,7 @@ static int rtsx_usb_sdmmc_drv_remove(struct platform_device *pdev)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct platform_device_id rtsx_usb_sdmmc_ids[] = {
|
static const struct platform_device_id rtsx_usb_sdmmc_ids[] = {
|
||||||
{
|
{
|
||||||
.name = "rtsx_usb_sdmmc",
|
.name = "rtsx_usb_sdmmc",
|
||||||
}, {
|
}, {
|
||||||
|
Loading…
Reference in New Issue
Block a user