Skip to content

Commit

Permalink
wireless/ipw2200.c: add __dev{init,exit} annotations
Browse files Browse the repository at this point in the history
This patch adds __dev{init,exit} annotations.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Adrian Bunk authored and John W. Linville committed Dec 17, 2007
1 parent 9313794 commit 2ef19e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions drivers/net/wireless/ipw2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -10751,7 +10751,7 @@ static void ipw_bg_link_down(struct work_struct *work)
mutex_unlock(&priv->mutex);
}

static int ipw_setup_deferred_work(struct ipw_priv *priv)
static int __devinit ipw_setup_deferred_work(struct ipw_priv *priv)
{
int ret = 0;

Expand Down Expand Up @@ -11600,7 +11600,8 @@ static void ipw_prom_free(struct ipw_priv *priv)
#endif


static int ipw_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
static int __devinit ipw_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *ent)
{
int err = 0;
struct net_device *net_dev;
Expand Down Expand Up @@ -11767,7 +11768,7 @@ static int ipw_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
return err;
}

static void ipw_pci_remove(struct pci_dev *pdev)
static void __devexit ipw_pci_remove(struct pci_dev *pdev)
{
struct ipw_priv *priv = pci_get_drvdata(pdev);
struct list_head *p, *q;
Expand Down

0 comments on commit 2ef19e6

Please sign in to comment.