Re: [PATCH 2/6] ath9k: make ath_mci_duty_cycle static

Luis R. Rodriguez
2011-12-21T17:27:02Z

On Tue, Dec 20, 2011 at 8:41 PM, Joe Perches <joe@perches.com> wrote:
> On Tue, 2011-12-20 at 10:46 -0800, Luis R. Rodriguez wrote:
>> diff --git a/drivers/net/wireless/ath/ath9k/mci.c b/drivers/net/wireless/ath/ath9k/mci.c
> []
>> @@ -20,7 +20,7 @@
>>  #include "ath9k.h"
>>  #include "mci.h"
>>
>> -u8 ath_mci_duty_cycle[] = { 0, 50, 60, 70, 80, 85, 90, 95, 98 };
>> +static u8 ath_mci_duty_cycle[] = { 0, 50, 60, 70, 80, 85, 90, 95, 98 };
>
> static const would be better.

Good idea, v2 coming up.

Luis