summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_hal/ar5416
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-02-23 23:58:37 +0000
committersam <sam@FreeBSD.org>2009-02-23 23:58:37 +0000
commit9b20a16012125ff8adb90a860f91e436bea39556 (patch)
tree9f0406d2d59b2d389a2eba3578b33581a3a24907 /sys/dev/ath/ath_hal/ar5416
parentfdb4cb08bcf3ce12f8afdb0dcf2bc93603875d1a (diff)
downloadFreeBSD-src-9b20a16012125ff8adb90a860f91e436bea39556.zip
FreeBSD-src-9b20a16012125ff8adb90a860f91e436bea39556.tar.gz
attach methods don't need to be public, make 'em static
Diffstat (limited to 'sys/dev/ath/ath_hal/ar5416')
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar5416.h2
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar5416_attach.c2
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar9160_attach.c4
3 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416.h b/sys/dev/ath/ath_hal/ar5416/ar5416.h
index 15dfe23..12b0c0b 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar5416.h
+++ b/sys/dev/ath/ath_hal/ar5416/ar5416.h
@@ -83,8 +83,6 @@ extern HAL_BOOL ar2133RfAttach(struct ath_hal *, HAL_STATUS *);
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,
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c b/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c
index 57dc2a9..8fccbd1 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c
+++ b/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c
@@ -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)
{
diff --git a/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c b/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c
index 54b0f91..b7f7166 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c
+++ b/sys/dev/ath/ath_hal/ar5416/ar9160_attach.c
@@ -57,8 +57,6 @@ static const HAL_PERCAL_DATA ar9160_adc_init_dc_cal = {
.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)
{
OpenPOWER on IntegriCloud