svn commit: r186017 - head/sys/dev/ath/ath_hal
Sam Leffler
sam at FreeBSD.org
Sat Dec 13 03:47:42 UTC 2008
Author: sam
Date: Sat Dec 13 03:47:42 2008
New Revision: 186017
URL: http://svn.freebsd.org/changeset/base/186017
Log:
fix static const order
Obtained from: netbsd
Modified:
head/sys/dev/ath/ath_hal/ah_eeprom_v3.c (contents, props changed)
Modified: head/sys/dev/ath/ath_hal/ah_eeprom_v3.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ah_eeprom_v3.c Sat Dec 13 03:45:54 2008 (r186016)
+++ head/sys/dev/ath/ath_hal/ah_eeprom_v3.c Sat Dec 13 03:47:42 2008 (r186017)
@@ -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;
More information about the svn-src-all
mailing list