Commit 21b2cec6 authored by Douglas Anderson's avatar Douglas Anderson Committed by Ulf Hansson

mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.4

This is like commit 3d3451124f3d ("mmc: sdhci-msm: Prefer asynchronous
probe") but applied to a whole pile of drivers.  This batch converts
the drivers that appeared to be around in the v4.4 timeframe.
Signed-off-by: default avatarDouglas Anderson <dianders@chromium.org>
Reviewed-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com> # SH_MMCIF
Tested-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20200903162412.1.Id501e96fa63224f77bb86b2135a5e8324ffb9c43@changeidSigned-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 54d84544
...@@ -537,6 +537,7 @@ static struct platform_driver goldfish_mmc_driver = { ...@@ -537,6 +537,7 @@ static struct platform_driver goldfish_mmc_driver = {
.remove = goldfish_mmc_remove, .remove = goldfish_mmc_remove,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
......
...@@ -2668,6 +2668,7 @@ static struct platform_driver atmci_driver = { ...@@ -2668,6 +2668,7 @@ static struct platform_driver atmci_driver = {
.remove = atmci_remove, .remove = atmci_remove,
.driver = { .driver = {
.name = "atmel_mci", .name = "atmel_mci",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(atmci_dt_ids), .of_match_table = of_match_ptr(atmci_dt_ids),
.pm = &atmci_dev_pm_ops, .pm = &atmci_dev_pm_ops,
}, },
......
...@@ -1189,6 +1189,7 @@ static struct platform_driver au1xmmc_driver = { ...@@ -1189,6 +1189,7 @@ static struct platform_driver au1xmmc_driver = {
.resume = au1xmmc_resume, .resume = au1xmmc_resume,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
......
...@@ -1395,6 +1395,7 @@ static const struct dev_pm_ops davinci_mmcsd_pm = { ...@@ -1395,6 +1395,7 @@ static const struct dev_pm_ops davinci_mmcsd_pm = {
static struct platform_driver davinci_mmcsd_driver = { static struct platform_driver davinci_mmcsd_driver = {
.driver = { .driver = {
.name = "davinci_mmc", .name = "davinci_mmc",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = davinci_mmcsd_pm_ops, .pm = davinci_mmcsd_pm_ops,
.of_match_table = davinci_mmc_dt_ids, .of_match_table = davinci_mmc_dt_ids,
}, },
......
...@@ -592,6 +592,7 @@ static struct platform_driver dw_mci_exynos_pltfm_driver = { ...@@ -592,6 +592,7 @@ static struct platform_driver dw_mci_exynos_pltfm_driver = {
.remove = dw_mci_exynos_remove, .remove = dw_mci_exynos_remove,
.driver = { .driver = {
.name = "dwmmc_exynos", .name = "dwmmc_exynos",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = dw_mci_exynos_match, .of_match_table = dw_mci_exynos_match,
.pm = &dw_mci_exynos_pmops, .pm = &dw_mci_exynos_pmops,
}, },
......
...@@ -473,6 +473,7 @@ static struct platform_driver dw_mci_k3_pltfm_driver = { ...@@ -473,6 +473,7 @@ static struct platform_driver dw_mci_k3_pltfm_driver = {
.remove = dw_mci_pltfm_remove, .remove = dw_mci_pltfm_remove,
.driver = { .driver = {
.name = "dwmmc_k3", .name = "dwmmc_k3",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = dw_mci_k3_match, .of_match_table = dw_mci_k3_match,
.pm = &dw_mci_k3_dev_pm_ops, .pm = &dw_mci_k3_dev_pm_ops,
}, },
......
...@@ -98,6 +98,7 @@ static struct platform_driver dw_mci_pltfm_driver = { ...@@ -98,6 +98,7 @@ static struct platform_driver dw_mci_pltfm_driver = {
.remove = dw_mci_pltfm_remove, .remove = dw_mci_pltfm_remove,
.driver = { .driver = {
.name = "dw_mmc", .name = "dw_mmc",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = dw_mci_pltfm_match, .of_match_table = dw_mci_pltfm_match,
.pm = &dw_mci_pltfm_pmops, .pm = &dw_mci_pltfm_pmops,
}, },
......
...@@ -383,6 +383,7 @@ static struct platform_driver dw_mci_rockchip_pltfm_driver = { ...@@ -383,6 +383,7 @@ static struct platform_driver dw_mci_rockchip_pltfm_driver = {
.remove = dw_mci_rockchip_remove, .remove = dw_mci_rockchip_remove,
.driver = { .driver = {
.name = "dwmmc_rockchip", .name = "dwmmc_rockchip",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = dw_mci_rockchip_match, .of_match_table = dw_mci_rockchip_match,
.pm = &dw_mci_rockchip_dev_pm_ops, .pm = &dw_mci_rockchip_dev_pm_ops,
}, },
......
...@@ -1124,6 +1124,7 @@ static struct platform_driver jz4740_mmc_driver = { ...@@ -1124,6 +1124,7 @@ static struct platform_driver jz4740_mmc_driver = {
.remove = jz4740_mmc_remove, .remove = jz4740_mmc_remove,
.driver = { .driver = {
.name = "jz4740-mmc", .name = "jz4740-mmc",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(jz4740_mmc_of_match), .of_match_table = of_match_ptr(jz4740_mmc_of_match),
.pm = pm_ptr(&jz4740_mmc_pm_ops), .pm = pm_ptr(&jz4740_mmc_pm_ops),
}, },
......
...@@ -717,6 +717,7 @@ static struct platform_driver moxart_mmc_driver = { ...@@ -717,6 +717,7 @@ static struct platform_driver moxart_mmc_driver = {
.remove = moxart_remove, .remove = moxart_remove,
.driver = { .driver = {
.name = "mmc-moxart", .name = "mmc-moxart",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = moxart_mmc_match, .of_match_table = moxart_mmc_match,
}, },
}; };
......
...@@ -2689,6 +2689,7 @@ static struct platform_driver mt_msdc_driver = { ...@@ -2689,6 +2689,7 @@ static struct platform_driver mt_msdc_driver = {
.remove = msdc_drv_remove, .remove = msdc_drv_remove,
.driver = { .driver = {
.name = "mtk-msdc", .name = "mtk-msdc",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = msdc_of_ids, .of_match_table = msdc_of_ids,
.pm = &msdc_dev_pm_ops, .pm = &msdc_dev_pm_ops,
}, },
......
...@@ -824,6 +824,7 @@ static struct platform_driver mvsd_driver = { ...@@ -824,6 +824,7 @@ static struct platform_driver mvsd_driver = {
.remove = mvsd_remove, .remove = mvsd_remove,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = mvsdio_dt_ids, .of_match_table = mvsdio_dt_ids,
}, },
}; };
......
...@@ -1244,6 +1244,7 @@ static struct platform_driver mxcmci_driver = { ...@@ -1244,6 +1244,7 @@ static struct platform_driver mxcmci_driver = {
.id_table = mxcmci_devtype, .id_table = mxcmci_devtype,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &mxcmci_pm_ops, .pm = &mxcmci_pm_ops,
.of_match_table = mxcmci_of_match, .of_match_table = mxcmci_of_match,
} }
......
...@@ -726,6 +726,7 @@ static struct platform_driver mxs_mmc_driver = { ...@@ -726,6 +726,7 @@ static struct platform_driver mxs_mmc_driver = {
.id_table = mxs_ssp_ids, .id_table = mxs_ssp_ids,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &mxs_mmc_pm_ops, .pm = &mxs_mmc_pm_ops,
.of_match_table = mxs_mmc_dt_ids, .of_match_table = mxs_mmc_dt_ids,
}, },
......
...@@ -1504,6 +1504,7 @@ static struct platform_driver mmc_omap_driver = { ...@@ -1504,6 +1504,7 @@ static struct platform_driver mmc_omap_driver = {
.remove = mmc_omap_remove, .remove = mmc_omap_remove,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(mmc_omap_match), .of_match_table = of_match_ptr(mmc_omap_match),
}, },
}; };
......
...@@ -2165,6 +2165,7 @@ static struct platform_driver omap_hsmmc_driver = { ...@@ -2165,6 +2165,7 @@ static struct platform_driver omap_hsmmc_driver = {
.remove = omap_hsmmc_remove, .remove = omap_hsmmc_remove,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &omap_hsmmc_dev_pm_ops, .pm = &omap_hsmmc_dev_pm_ops,
.of_match_table = of_match_ptr(omap_mmc_of_match), .of_match_table = of_match_ptr(omap_mmc_of_match),
}, },
......
...@@ -811,6 +811,7 @@ static struct platform_driver pxamci_driver = { ...@@ -811,6 +811,7 @@ static struct platform_driver pxamci_driver = {
.remove = pxamci_remove, .remove = pxamci_remove,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(pxa_mmc_dt_ids), .of_match_table = of_match_ptr(pxa_mmc_dt_ids),
}, },
}; };
......
...@@ -1471,6 +1471,7 @@ static struct platform_driver rtsx_pci_sdmmc_driver = { ...@@ -1471,6 +1471,7 @@ static struct platform_driver rtsx_pci_sdmmc_driver = {
.id_table = rtsx_pci_sdmmc_ids, .id_table = rtsx_pci_sdmmc_ids,
.driver = { .driver = {
.name = DRV_NAME_RTSX_PCI_SDMMC, .name = DRV_NAME_RTSX_PCI_SDMMC,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
module_platform_driver(rtsx_pci_sdmmc_driver); module_platform_driver(rtsx_pci_sdmmc_driver);
......
...@@ -1458,6 +1458,7 @@ static struct platform_driver rtsx_usb_sdmmc_driver = { ...@@ -1458,6 +1458,7 @@ static struct platform_driver rtsx_usb_sdmmc_driver = {
.id_table = rtsx_usb_sdmmc_ids, .id_table = rtsx_usb_sdmmc_ids,
.driver = { .driver = {
.name = "rtsx_usb_sdmmc", .name = "rtsx_usb_sdmmc",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &rtsx_usb_sdmmc_dev_pm_ops, .pm = &rtsx_usb_sdmmc_dev_pm_ops,
}, },
}; };
......
...@@ -1804,6 +1804,7 @@ MODULE_DEVICE_TABLE(platform, s3cmci_driver_ids); ...@@ -1804,6 +1804,7 @@ MODULE_DEVICE_TABLE(platform, s3cmci_driver_ids);
static struct platform_driver s3cmci_driver = { static struct platform_driver s3cmci_driver = {
.driver = { .driver = {
.name = "s3c-sdi", .name = "s3c-sdi",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = s3cmci_dt_match, .of_match_table = s3cmci_dt_match,
}, },
.id_table = s3cmci_driver_ids, .id_table = s3cmci_driver_ids,
......
...@@ -1027,6 +1027,7 @@ static const struct dev_pm_ops sdhci_acpi_pm_ops = { ...@@ -1027,6 +1027,7 @@ static const struct dev_pm_ops sdhci_acpi_pm_ops = {
static struct platform_driver sdhci_acpi_driver = { static struct platform_driver sdhci_acpi_driver = {
.driver = { .driver = {
.name = "sdhci-acpi", .name = "sdhci-acpi",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.acpi_match_table = sdhci_acpi_ids, .acpi_match_table = sdhci_acpi_ids,
.pm = &sdhci_acpi_pm_ops, .pm = &sdhci_acpi_pm_ops,
}, },
......
...@@ -324,6 +324,7 @@ static int sdhci_bcm_kona_probe(struct platform_device *pdev) ...@@ -324,6 +324,7 @@ static int sdhci_bcm_kona_probe(struct platform_device *pdev)
static struct platform_driver sdhci_bcm_kona_driver = { static struct platform_driver sdhci_bcm_kona_driver = {
.driver = { .driver = {
.name = "sdhci-kona", .name = "sdhci-kona",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &sdhci_pltfm_pmops, .pm = &sdhci_pltfm_pmops,
.of_match_table = sdhci_bcm_kona_of_match, .of_match_table = sdhci_bcm_kona_of_match,
}, },
......
...@@ -98,6 +98,7 @@ static int sdhci_cns3xxx_probe(struct platform_device *pdev) ...@@ -98,6 +98,7 @@ static int sdhci_cns3xxx_probe(struct platform_device *pdev)
static struct platform_driver sdhci_cns3xxx_driver = { static struct platform_driver sdhci_cns3xxx_driver = {
.driver = { .driver = {
.name = "sdhci-cns3xxx", .name = "sdhci-cns3xxx",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &sdhci_pltfm_pmops, .pm = &sdhci_pltfm_pmops,
}, },
.probe = sdhci_cns3xxx_probe, .probe = sdhci_cns3xxx_probe,
......
...@@ -105,6 +105,7 @@ MODULE_DEVICE_TABLE(of, sdhci_dove_of_match_table); ...@@ -105,6 +105,7 @@ MODULE_DEVICE_TABLE(of, sdhci_dove_of_match_table);
static struct platform_driver sdhci_dove_driver = { static struct platform_driver sdhci_dove_driver = {
.driver = { .driver = {
.name = "sdhci-dove", .name = "sdhci-dove",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &sdhci_pltfm_pmops, .pm = &sdhci_pltfm_pmops,
.of_match_table = sdhci_dove_of_match_table, .of_match_table = sdhci_dove_of_match_table,
}, },
......
...@@ -1925,6 +1925,7 @@ static const struct dev_pm_ops sdhci_esdhc_pmops = { ...@@ -1925,6 +1925,7 @@ static const struct dev_pm_ops sdhci_esdhc_pmops = {
static struct platform_driver sdhci_esdhc_imx_driver = { static struct platform_driver sdhci_esdhc_imx_driver = {
.driver = { .driver = {
.name = "sdhci-esdhc-imx", .name = "sdhci-esdhc-imx",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = imx_esdhc_dt_ids, .of_match_table = imx_esdhc_dt_ids,
.pm = &sdhci_esdhc_pmops, .pm = &sdhci_esdhc_pmops,
}, },
......
...@@ -369,6 +369,7 @@ static int sdhci_iproc_probe(struct platform_device *pdev) ...@@ -369,6 +369,7 @@ static int sdhci_iproc_probe(struct platform_device *pdev)
static struct platform_driver sdhci_iproc_driver = { static struct platform_driver sdhci_iproc_driver = {
.driver = { .driver = {
.name = "sdhci-iproc", .name = "sdhci-iproc",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = sdhci_iproc_of_match, .of_match_table = sdhci_iproc_of_match,
.acpi_match_table = ACPI_PTR(sdhci_iproc_acpi_ids), .acpi_match_table = ACPI_PTR(sdhci_iproc_acpi_ids),
.pm = &sdhci_pltfm_pmops, .pm = &sdhci_pltfm_pmops,
......
...@@ -1693,6 +1693,7 @@ static int sdhci_arasan_remove(struct platform_device *pdev) ...@@ -1693,6 +1693,7 @@ static int sdhci_arasan_remove(struct platform_device *pdev)
static struct platform_driver sdhci_arasan_driver = { static struct platform_driver sdhci_arasan_driver = {
.driver = { .driver = {
.name = "sdhci-arasan", .name = "sdhci-arasan",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = sdhci_arasan_of_match, .of_match_table = sdhci_arasan_of_match,
.pm = &sdhci_arasan_dev_pm_ops, .pm = &sdhci_arasan_dev_pm_ops,
}, },
......
...@@ -465,6 +465,7 @@ static int sdhci_at91_remove(struct platform_device *pdev) ...@@ -465,6 +465,7 @@ static int sdhci_at91_remove(struct platform_device *pdev)
static struct platform_driver sdhci_at91_driver = { static struct platform_driver sdhci_at91_driver = {
.driver = { .driver = {
.name = "sdhci-at91", .name = "sdhci-at91",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = sdhci_at91_dt_match, .of_match_table = sdhci_at91_dt_match,
.pm = &sdhci_at91_dev_pm_ops, .pm = &sdhci_at91_dev_pm_ops,
}, },
......
...@@ -1468,6 +1468,7 @@ static int sdhci_esdhc_probe(struct platform_device *pdev) ...@@ -1468,6 +1468,7 @@ static int sdhci_esdhc_probe(struct platform_device *pdev)
static struct platform_driver sdhci_esdhc_driver = { static struct platform_driver sdhci_esdhc_driver = {
.driver = { .driver = {
.name = "sdhci-esdhc", .name = "sdhci-esdhc",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = sdhci_esdhc_of_match, .of_match_table = sdhci_esdhc_of_match,
.pm = &esdhc_of_dev_pm_ops, .pm = &esdhc_of_dev_pm_ops,
}, },
......
...@@ -80,6 +80,7 @@ MODULE_DEVICE_TABLE(of, sdhci_hlwd_of_match); ...@@ -80,6 +80,7 @@ MODULE_DEVICE_TABLE(of, sdhci_hlwd_of_match);
static struct platform_driver sdhci_hlwd_driver = { static struct platform_driver sdhci_hlwd_driver = {
.driver = { .driver = {
.name = "sdhci-hlwd", .name = "sdhci-hlwd",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = sdhci_hlwd_of_match, .of_match_table = sdhci_hlwd_of_match,
.pm = &sdhci_pltfm_pmops, .pm = &sdhci_pltfm_pmops,
}, },
......
...@@ -226,6 +226,7 @@ static int sdhci_pxav2_probe(struct platform_device *pdev) ...@@ -226,6 +226,7 @@ static int sdhci_pxav2_probe(struct platform_device *pdev)
static struct platform_driver sdhci_pxav2_driver = { static struct platform_driver sdhci_pxav2_driver = {
.driver = { .driver = {
.name = "sdhci-pxav2", .name = "sdhci-pxav2",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(sdhci_pxav2_of_match), .of_match_table = of_match_ptr(sdhci_pxav2_of_match),
.pm = &sdhci_pltfm_pmops, .pm = &sdhci_pltfm_pmops,
}, },
......
...@@ -567,6 +567,7 @@ static const struct dev_pm_ops sdhci_pxav3_pmops = { ...@@ -567,6 +567,7 @@ static const struct dev_pm_ops sdhci_pxav3_pmops = {
static struct platform_driver sdhci_pxav3_driver = { static struct platform_driver sdhci_pxav3_driver = {
.driver = { .driver = {
.name = "sdhci-pxav3", .name = "sdhci-pxav3",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(sdhci_pxav3_of_match), .of_match_table = of_match_ptr(sdhci_pxav3_of_match),
.pm = &sdhci_pxav3_pmops, .pm = &sdhci_pxav3_pmops,
}, },
......
...@@ -784,6 +784,7 @@ static struct platform_driver sdhci_s3c_driver = { ...@@ -784,6 +784,7 @@ static struct platform_driver sdhci_s3c_driver = {
.id_table = sdhci_s3c_driver_ids, .id_table = sdhci_s3c_driver_ids,
.driver = { .driver = {
.name = "s3c-sdhci", .name = "s3c-sdhci",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(sdhci_s3c_dt_match), .of_match_table = of_match_ptr(sdhci_s3c_dt_match),
.pm = &sdhci_s3c_pmops, .pm = &sdhci_s3c_pmops,
}, },
......
...@@ -220,6 +220,7 @@ MODULE_DEVICE_TABLE(of, sdhci_sirf_of_match); ...@@ -220,6 +220,7 @@ MODULE_DEVICE_TABLE(of, sdhci_sirf_of_match);
static struct platform_driver sdhci_sirf_driver = { static struct platform_driver sdhci_sirf_driver = {
.driver = { .driver = {
.name = "sdhci-sirf", .name = "sdhci-sirf",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = sdhci_sirf_of_match, .of_match_table = sdhci_sirf_of_match,
.pm = &sdhci_pltfm_pmops, .pm = &sdhci_pltfm_pmops,
}, },
......
...@@ -181,6 +181,7 @@ MODULE_DEVICE_TABLE(of, sdhci_spear_id_table); ...@@ -181,6 +181,7 @@ MODULE_DEVICE_TABLE(of, sdhci_spear_id_table);
static struct platform_driver sdhci_driver = { static struct platform_driver sdhci_driver = {
.driver = { .driver = {
.name = "sdhci", .name = "sdhci",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &sdhci_pm_ops, .pm = &sdhci_pm_ops,
.of_match_table = of_match_ptr(sdhci_spear_id_table), .of_match_table = of_match_ptr(sdhci_spear_id_table),
}, },
......
...@@ -521,6 +521,7 @@ static struct platform_driver sdhci_st_driver = { ...@@ -521,6 +521,7 @@ static struct platform_driver sdhci_st_driver = {
.remove = sdhci_st_remove, .remove = sdhci_st_remove,
.driver = { .driver = {
.name = "sdhci-st", .name = "sdhci-st",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &sdhci_st_pmops, .pm = &sdhci_st_pmops,
.of_match_table = of_match_ptr(st_sdhci_match), .of_match_table = of_match_ptr(st_sdhci_match),
}, },
......
...@@ -1782,6 +1782,7 @@ static SIMPLE_DEV_PM_OPS(sdhci_tegra_dev_pm_ops, sdhci_tegra_suspend, ...@@ -1782,6 +1782,7 @@ static SIMPLE_DEV_PM_OPS(sdhci_tegra_dev_pm_ops, sdhci_tegra_suspend,
static struct platform_driver sdhci_tegra_driver = { static struct platform_driver sdhci_tegra_driver = {
.driver = { .driver = {
.name = "sdhci-tegra", .name = "sdhci-tegra",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = sdhci_tegra_dt_match, .of_match_table = sdhci_tegra_dt_match,
.pm = &sdhci_tegra_dev_pm_ops, .pm = &sdhci_tegra_dev_pm_ops,
}, },
......
...@@ -219,6 +219,7 @@ MODULE_DEVICE_TABLE(acpi, f_sdh30_acpi_ids); ...@@ -219,6 +219,7 @@ MODULE_DEVICE_TABLE(acpi, f_sdh30_acpi_ids);
static struct platform_driver sdhci_f_sdh30_driver = { static struct platform_driver sdhci_f_sdh30_driver = {
.driver = { .driver = {
.name = "f_sdh30", .name = "f_sdh30",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(f_sdh30_dt_ids), .of_match_table = of_match_ptr(f_sdh30_dt_ids),
.acpi_match_table = ACPI_PTR(f_sdh30_acpi_ids), .acpi_match_table = ACPI_PTR(f_sdh30_acpi_ids),
.pm = &sdhci_pltfm_pmops, .pm = &sdhci_pltfm_pmops,
......
...@@ -1562,6 +1562,7 @@ static struct platform_driver sh_mmcif_driver = { ...@@ -1562,6 +1562,7 @@ static struct platform_driver sh_mmcif_driver = {
.remove = sh_mmcif_remove, .remove = sh_mmcif_remove,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &sh_mmcif_dev_pm_ops, .pm = &sh_mmcif_dev_pm_ops,
.of_match_table = sh_mmcif_of_match, .of_match_table = sh_mmcif_of_match,
}, },
......
...@@ -1514,6 +1514,7 @@ static const struct dev_pm_ops sunxi_mmc_pm_ops = { ...@@ -1514,6 +1514,7 @@ static const struct dev_pm_ops sunxi_mmc_pm_ops = {
static struct platform_driver sunxi_mmc_driver = { static struct platform_driver sunxi_mmc_driver = {
.driver = { .driver = {
.name = "sunxi-mmc", .name = "sunxi-mmc",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = of_match_ptr(sunxi_mmc_of_match), .of_match_table = of_match_ptr(sunxi_mmc_of_match),
.pm = &sunxi_mmc_pm_ops, .pm = &sunxi_mmc_pm_ops,
}, },
......
...@@ -213,6 +213,7 @@ static const struct dev_pm_ops tmio_mmc_dev_pm_ops = { ...@@ -213,6 +213,7 @@ static const struct dev_pm_ops tmio_mmc_dev_pm_ops = {
static struct platform_driver tmio_mmc_driver = { static struct platform_driver tmio_mmc_driver = {
.driver = { .driver = {
.name = "tmio-mmc", .name = "tmio-mmc",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = &tmio_mmc_dev_pm_ops, .pm = &tmio_mmc_dev_pm_ops,
}, },
.probe = tmio_mmc_probe, .probe = tmio_mmc_probe,
......
...@@ -1890,6 +1890,7 @@ static struct platform_driver usdhi6_driver = { ...@@ -1890,6 +1890,7 @@ static struct platform_driver usdhi6_driver = {
.remove = usdhi6_remove, .remove = usdhi6_remove,
.driver = { .driver = {
.name = "usdhi6rol0", .name = "usdhi6rol0",
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.of_match_table = usdhi6_of_match, .of_match_table = usdhi6_of_match,
}, },
}; };
......
...@@ -1905,6 +1905,7 @@ static struct platform_driver wbsd_driver = { ...@@ -1905,6 +1905,7 @@ static struct platform_driver wbsd_driver = {
.resume = wbsd_platform_resume, .resume = wbsd_platform_resume,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
}, },
}; };
......
...@@ -990,6 +990,7 @@ static struct platform_driver wmt_mci_driver = { ...@@ -990,6 +990,7 @@ static struct platform_driver wmt_mci_driver = {
.remove = wmt_mci_remove, .remove = wmt_mci_remove,
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.pm = wmt_mci_pm_ops, .pm = wmt_mci_pm_ops,
.of_match_table = wmt_mci_dt_ids, .of_match_table = wmt_mci_dt_ids,
}, },
......
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