mac80211: add initial support for AR9330
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 543-ath9k-add-platform-device-id-for-AR9330.patch
1 diff --git a/drivers/net/wireless/ath/ath9k/ahb.c b/drivers/net/wireless/ath/ath9k/ahb.c
2 index 5b49cd0..0b36fcf 100644
3 --- a/drivers/net/wireless/ath/ath9k/ahb.c
4 +++ b/drivers/net/wireless/ath/ath9k/ahb.c
5 @@ -27,6 +27,10 @@ static const struct platform_device_id ath9k_platform_id_table[] = {
6 .driver_data = AR5416_AR9100_DEVID,
7 },
8 {
9 + .name = "ar933x_wmac",
10 + .driver_data = AR9300_DEVID_AR9330,
11 + },
12 + {
13 .name = "ar934x_wmac",
14 .driver_data = AR9300_DEVID_AR9340,
15 },