From owner-svn-src-head@FreeBSD.ORG Mon Feb 23 23:58:38 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C07F106564A; Mon, 23 Feb 2009 23:58:38 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E23E68FC0C; Mon, 23 Feb 2009 23:58:37 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1NNwbDM043638; Mon, 23 Feb 2009 23:58:37 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1NNwb2m043633; Mon, 23 Feb 2009 23:58:37 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200902232358.n1NNwb2m043633@svn.freebsd.org> From: Sam Leffler Date: Mon, 23 Feb 2009 23:58:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188972 - in head/sys/dev/ath/ath_hal: ar5211 ar5416 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2009 23:58:38 -0000 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) {