Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Dec 2008 03:47:42 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186017 - head/sys/dev/ath/ath_hal
Message-ID:  <200812130347.mBD3lgF9017038@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812130347.mBD3lgF9017038>