Commit c1a9fe65 authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller

[NET]: Fix namespace pollution in two wireless drivers.

parent eadb6ff8
......@@ -888,7 +888,7 @@ typedef struct {
#ifdef WIRELESS_EXT
// Frequency list (map channels to frequencies)
const long frequency_list[] = { 2412, 2417, 2422, 2427, 2432, 2437, 2442,
static const long frequency_list[] = { 2412, 2417, 2422, 2427, 2432, 2437, 2442,
2447, 2452, 2457, 2462, 2467, 2472, 2484 };
// A few details needed for WEP (Wireless Equivalent Privacy)
......
......@@ -1903,7 +1903,7 @@ static int atmel_get_frag(struct net_device *dev,
return 0;
}
const long frequency_list[] = { 2412, 2417, 2422, 2427, 2432, 2437, 2442,
static const long frequency_list[] = { 2412, 2417, 2422, 2427, 2432, 2437, 2442,
2447, 2452, 2457, 2462, 2467, 2472, 2484 };
static int atmel_set_freq(struct net_device *dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment