ath5k: use DEFINE_PCI_DEVICE_TABLE in led.c, mark users with __devinit
Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
ef82763d8d
commit
25380d8068
@@ -2357,7 +2357,7 @@ ath5k_tx_complete_poll_work(struct work_struct *work)
|
||||
* Initialization routines *
|
||||
\*************************/
|
||||
|
||||
int
|
||||
int __devinit
|
||||
ath5k_init_softc(struct ath5k_softc *sc, const struct ath_bus_ops *bus_ops)
|
||||
{
|
||||
struct ieee80211_hw *hw = sc->hw;
|
||||
@@ -2771,7 +2771,7 @@ static void ath5k_reset_work(struct work_struct *work)
|
||||
mutex_unlock(&sc->lock);
|
||||
}
|
||||
|
||||
static int
|
||||
static int __devinit
|
||||
ath5k_init(struct ieee80211_hw *hw)
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user