Skip to contentSkip to conversation

mwl8k: initialize the mwl8k_info_tbl table using the MWL* enums

PATCH New Lennert Buytenhek 1 participant 1 message Nov 30, 2009 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 5/11 mwl8k: initialize the mwl8k_info_tbl table using the MWL* enums

---
 drivers/net/wireless/mwl8k.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/mwl8k.c +2 -2
index df26414..c1ce985 100644
@@ -3268,14 +3268,14 @@ enum {
 };
 
 static struct mwl8k_device_info mwl8k_info_tbl[] __devinitdata = {
-	{
+	[MWL8687] = {
 		.part_name	= "88w8687",
 		.helper_image	= "mwl8k/helper_8687.fw",
 		.fw_image	= "mwl8k/fmimage_8687.fw",
 		.rxd_ops	= &rxd_8687_ops,
 		.modes		= BIT(NL80211_IFTYPE_STATION),
 	},
-	{
+	[MWL8366] = {
 		.part_name	= "88w8366",
 		.helper_image	= "mwl8k/helper_8366.fw",
 		.fw_image	= "mwl8k/fmimage_8366.fw",
Signature · 1 line
1.5.6.4