22 #include <linux/module.h>
31 .name =
"ar933x_wmac",
35 .name =
"ar934x_wmac",
39 .name =
"qca955x_wmac",
60 "%s: flash read failed, offset %08x is out of range\n",
71 .read_cachesize = ath_ahb_read_cachesize,
72 .eeprom_read = ath_ahb_eeprom_read,
87 if (!pdev->
dev.platform_data) {
88 dev_err(&pdev->
dev,
"no platform data specified\n");
95 dev_err(&pdev->
dev,
"no memory resource found\n");
109 dev_err(&pdev->
dev,
"no IRQ resource found\n");
118 dev_err(&pdev->
dev,
"no memory for ieee80211_hw\n");
123 SET_IEEE80211_DEV(hw, &pdev->
dev);
124 platform_set_drvdata(pdev, hw);
143 dev_err(&pdev->
dev,
"failed to initialize device\n");
150 hw_name, (
unsigned long)mem, irq);
158 platform_set_drvdata(pdev,
NULL);
177 platform_set_drvdata(pdev,
NULL);
184 .probe = ath_ahb_probe,
185 .remove = ath_ahb_remove,
190 .id_table = ath9k_platform_id_table,