aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-12-11 17:20:22 -0500
committerJohn W. Linville <linville@tuxdriver.com>2007-12-17 17:01:39 -0500
commit2ef19e63e698d740661e04bd6d62ac3305435c61 (patch)
treeaa3ab0eba2e77560276b100c5e43c12c1cafb140
parent9313794371ad39e6bf88e1fbef8dfb3bd1ae3fe7 (diff)
wireless/ipw2200.c: add __dev{init,exit} annotations
This patch adds __dev{init,exit} annotations. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ipw2200.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index 54f44e5473c0..da51f477e9df 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -10751,7 +10751,7 @@ static void ipw_bg_link_down(struct work_struct *work)
10751 mutex_unlock(&priv->mutex); 10751 mutex_unlock(&priv->mutex);
10752} 10752}
10753 10753
10754static int ipw_setup_deferred_work(struct ipw_priv *priv) 10754static int __devinit ipw_setup_deferred_work(struct ipw_priv *priv)
10755{ 10755{
10756 int ret = 0; 10756 int ret = 0;
10757 10757
@@ -11600,7 +11600,8 @@ static void ipw_prom_free(struct ipw_priv *priv)
11600#endif 11600#endif
11601 11601
11602 11602
11603static int ipw_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) 11603static int __devinit ipw_pci_probe(struct pci_dev *pdev,
11604 const struct pci_device_id *ent)
11604{ 11605{
11605 int err = 0; 11606 int err = 0;
11606 struct net_device *net_dev; 11607 struct net_device *net_dev;
@@ -11767,7 +11768,7 @@ static int ipw_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
11767 return err; 11768 return err;
11768} 11769}
11769 11770
11770static void ipw_pci_remove(struct pci_dev *pdev) 11771static void __devexit ipw_pci_remove(struct pci_dev *pdev)
11771{ 11772{
11772 struct ipw_priv *priv = pci_get_drvdata(pdev); 11773 struct ipw_priv *priv = pci_get_drvdata(pdev);
11773 struct list_head *p, *q; 11774 struct list_head *p, *q;