attach methods don't need to be public, make 'em static
This commit is contained in:
parent
3f1c613044
commit
d61d829fd6
@ -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,
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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,
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user