svn commit: r188972 - in head/sys/dev/ath/ath_hal: ar5211 ar5416
Sam Leffler
sam at FreeBSD.org
Mon Feb 23 15:58:38 PST 2009
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)
{
More information about the svn-src-all
mailing list