diff options
author | sam <sam@FreeBSD.org> | 2008-12-13 03:47:42 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-12-13 03:47:42 +0000 |
commit | 870265e86c8dbeee1a1419aa10d6fe3895365775 (patch) | |
tree | 6b72f3bde9c072e88dc59ed6388c36f2e818ac59 /sys/dev/ath | |
parent | 71f001867bc42ad206a121816f0a86b9dbafa73a (diff) | |
download | FreeBSD-src-870265e86c8dbeee1a1419aa10d6fe3895365775.zip FreeBSD-src-870265e86c8dbeee1a1419aa10d6fe3895365775.tar.gz |
fix static const order
Obtained from: netbsd
Diffstat (limited to 'sys/dev/ath')
-rw-r--r-- | sys/dev/ath/ath_hal/ah_eeprom_v3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ath/ath_hal/ah_eeprom_v3.c b/sys/dev/ath/ath_hal/ah_eeprom_v3.c index b2c304b..20adb31 100644 --- a/sys/dev/ath/ath_hal/ah_eeprom_v3.c +++ b/sys/dev/ath/ath_hal/ah_eeprom_v3.c @@ -14,7 +14,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: ah_eeprom_v3.c,v 1.4 2008/11/27 22:39:42 sam Exp $ + * $FreeBSD$ */ #include "opt_ah.h" @@ -26,9 +26,9 @@ static void getPcdacInterceptsFromPcdacMinMax(HAL_EEPROM *ee, uint16_t pcdacMin, uint16_t pcdacMax, uint16_t *vp) { - const static uint16_t intercepts3[] = + static const uint16_t intercepts3[] = { 0, 5, 10, 20, 30, 50, 70, 85, 90, 95, 100 }; - const static uint16_t intercepts3_2[] = + static const uint16_t intercepts3_2[] = { 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 }; const uint16_t *ip = ee->ee_version < AR_EEPROM_VER3_2 ? intercepts3 : intercepts3_2; |