.driver = {
.name = "rb4xx-cpld",
.bus = &spi_bus_type,
- .of_match_table = of_match_ptr(rb4xx_cpld_dt_match),
+ .of_match_table = rb4xx_cpld_dt_match,
},
};
.probe = ar71xx_pci_probe,
.driver = {
.name = "ar71xx-pci",
-+ .of_match_table = of_match_ptr(ar71xx_pci_ids),
++ .of_match_table = ar71xx_pci_ids,
},
};
.probe = ar724x_pci_probe,
.driver = {
.name = "ar724x-pci",
-+ .of_match_table = of_match_ptr(ar724x_pci_ids),
++ .of_match_table = ar724x_pci_ids,
},
};
static struct platform_driver bcm6348_iudma_driver = {
.driver = {
.name = "bcm6348-iudma",
- .of_match_table = of_match_ptr(bcm6348_iudma_of_match),
+ .of_match_table = bcm6348_iudma_of_match,
},
.probe = bcm6348_iudma_probe,
};
static struct platform_driver bcm6348_emac_driver = {
.driver = {
.name = "bcm6348-emac",
- .of_match_table = of_match_ptr(bcm6348_emac_of_match),
+ .of_match_table = bcm6348_emac_of_match,
},
.probe = bcm6348_emac_probe,
.remove_new = bcm6348_emac_remove,
static struct platform_driver bcm6368_enetsw_driver = {
.driver = {
.name = "bcm6368-enetsw",
- .of_match_table = of_match_ptr(bcm6368_enetsw_of_match),
+ .of_match_table = bcm6368_enetsw_of_match,
},
.probe = bcm6368_enetsw_probe,
.remove_new = bcm6368_enetsw_remove,
+static struct platform_driver ath5k_eeprom_driver = {
+ .driver = {
+ .name = "ath5k,eeprom",
-+ .of_match_table = of_match_ptr(ath5k_eeprom_ids),
++ .of_match_table = ath5k_eeprom_ids,
+ },
+};
+