mwl8k: initialize the mwl8k_info_tbl table using the MWL* enums
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 30 Nov 2009 17:32:13 +0000 (18:32 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Dec 2009 21:31:26 +0000 (16:31 -0500)
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c

index 8cbb52cc4269ffa83ffb258eb6ac5560bacf0b22..5c849aa861398e91a98672c99eeb025ebde37145 100644 (file)
@@ -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",