Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2009 23:58:37 +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: r188972 - in head/sys/dev/ath/ath_hal: ar5211 ar5416
Message-ID:  <200902232358.n1NNwb2m043633@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sam
Date: Mon Feb 23 23:58:37 2009
New Revision: 188972
URL: http://svn.freebsd.org/changeset/base/188972

Log:
  attach methods don't need to be public, make 'em static

Modified:
  head/sys/dev/ath/ath_hal/ar5211/ar5211.h
  head/sys/dev/ath/ath_hal/ar5211/ar5211_attach.c
  head/sys/dev/ath/ath_hal/ar5416/ar5416.h
  head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c
  head/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c

Modified: head/sys/dev/ath/ath_hal/ar5211/ar5211.h
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5211/ar5211.h	Mon Feb 23 23:54:08 2009	(r188971)
+++ head/sys/dev/ath/ath_hal/ar5211/ar5211.h	Mon Feb 23 23:58:37 2009	(r188972)
@@ -144,8 +144,6 @@ struct ath_hal_5211 {
 
 struct ath_hal;
 
-extern	struct ath_hal *ar5211Attach(uint16_t, HAL_SOFTC,
-	HAL_BUS_TAG, HAL_BUS_HANDLE, HAL_STATUS *);
 extern	void ar5211Detach(struct ath_hal *);
 
 extern	HAL_BOOL ar5211Reset(struct ath_hal *, HAL_OPMODE,

Modified: head/sys/dev/ath/ath_hal/ar5211/ar5211_attach.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5211/ar5211_attach.c	Mon Feb 23 23:54:08 2009	(r188971)
+++ head/sys/dev/ath/ath_hal/ar5211/ar5211_attach.c	Mon Feb 23 23:58:37 2009	(r188972)
@@ -182,7 +182,7 @@ ar5211GetRadioRev(struct ath_hal *ah)
 /*
  * Attach for an AR5211 part.
  */
-struct ath_hal *
+static struct ath_hal *
 ar5211Attach(uint16_t devid, HAL_SOFTC sc,
 	HAL_BUS_TAG st, HAL_BUS_HANDLE sh, HAL_STATUS *status)
 {

Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416.h
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416.h	Mon Feb 23 23:54:08 2009	(r188971)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416.h	Mon Feb 23 23:58:37 2009	(r188972)
@@ -83,8 +83,6 @@ extern	HAL_BOOL ar2133RfAttach(struct at
 
 struct ath_hal;
 
-extern	struct ath_hal * ar5416Attach(uint16_t devid, HAL_SOFTC sc,
-		HAL_BUS_TAG st, HAL_BUS_HANDLE sh, HAL_STATUS *status);
 extern	uint32_t ar5416GetRadioRev(struct ath_hal *ah);
 extern	void ar5416InitState(struct ath_hal_5416 *, uint16_t devid,
 		HAL_SOFTC sc, HAL_BUS_TAG st, HAL_BUS_HANDLE sh,

Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c	Mon Feb 23 23:54:08 2009	(r188971)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c	Mon Feb 23 23:58:37 2009	(r188972)
@@ -174,7 +174,7 @@ ar5416GetRadioRev(struct ath_hal *ah)
 /*
  * Attach for an AR5416 part.
  */
-struct ath_hal *
+static struct ath_hal *
 ar5416Attach(uint16_t devid, HAL_SOFTC sc,
 	HAL_BUS_TAG st, HAL_BUS_HANDLE sh, HAL_STATUS *status)
 {

Modified: head/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c	Mon Feb 23 23:54:08 2009	(r188971)
+++ head/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c	Mon Feb 23 23:58:37 2009	(r188972)
@@ -57,8 +57,6 @@ static const HAL_PERCAL_DATA ar9160_adc_
 	.calPostProc	= ar5416AdcDcCalibration
 };
 
-struct ath_hal *ar9160Attach(uint16_t devid, HAL_SOFTC sc,
-	HAL_BUS_TAG st, HAL_BUS_HANDLE sh, HAL_STATUS *status);
 static void ar9160Detach(struct ath_hal *);
 static HAL_BOOL ar9160FillCapabilityInfo(struct ath_hal *ah);
 
@@ -90,7 +88,7 @@ ar9160AniSetup(struct ath_hal *ah)
 /*
  * Attach for an AR9160 part.
  */
-struct ath_hal *
+static struct ath_hal *
 ar9160Attach(uint16_t devid, HAL_SOFTC sc,
 	HAL_BUS_TAG st, HAL_BUS_HANDLE sh, HAL_STATUS *status)
 {



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