From: Lennert Buytenhek Date: Mon, 30 Nov 2009 17:32:13 +0000 (+0100) Subject: mwl8k: initialize the mwl8k_info_tbl table using the MWL* enums X-Git-Tag: upstream/snapshot3+hdmi~15536^2~49^2~462 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49eb691c8f48a29adfdfbdeb82433f1f8cb6524d;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git mwl8k: initialize the mwl8k_info_tbl table using the MWL* enums Signed-off-by: Lennert Buytenhek Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index 8cbb52c..5c849aa 100644 --- a/drivers/net/wireless/mwl8k.c +++ b/drivers/net/wireless/mwl8k.c @@ -3267,14 +3267,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",