|
@@ -252,9 +252,7 @@ static int sdhci_pxav2_remove(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",
|
|
-#ifdef CONFIG_OF
|
|
|
|
- .of_match_table = sdhci_pxav2_of_match,
|
|
|
|
-#endif
|
|
|
|
|
|
+ .of_match_table = of_match_ptr(sdhci_pxav2_of_match),
|
|
.pm = SDHCI_PLTFM_PMOPS,
|
|
.pm = SDHCI_PLTFM_PMOPS,
|
|
},
|
|
},
|
|
.probe = sdhci_pxav2_probe,
|
|
.probe = sdhci_pxav2_probe,
|