* [2.6 patch] wireless/ipw2200.c: add __dev{init,exit} annotations
@ 2007-12-11 22:20 Adrian Bunk
2007-12-12 1:02 ` Zhu Yi
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-12-11 22:20 UTC (permalink / raw)
To: yi.zhu, jketreno; +Cc: linux-wireless, ipw2100-devel, linux-kernel
This patch adds __dev{init,exit} annotations.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
drivers/net/wireless/ipw2200.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
dc37213e10799b6613c322c775923f070c8d5d9b
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index 54f44e5..da51f47 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)
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;
@@ -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;
@@ -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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [2.6 patch] wireless/ipw2200.c: add __dev{init,exit} annotations
2007-12-11 22:20 [2.6 patch] wireless/ipw2200.c: add __dev{init,exit} annotations Adrian Bunk
@ 2007-12-12 1:02 ` Zhu Yi
0 siblings, 0 replies; 2+ messages in thread
From: Zhu Yi @ 2007-12-12 1:02 UTC (permalink / raw)
To: Adrian Bunk; +Cc: jketreno, linux-wireless, ipw2100-devel, linux-kernel
On Tue, 2007-12-11 at 23:20 +0100, Adrian Bunk wrote:
> This patch adds __dev{init,exit} annotations.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
ACK.
Thanks,
-yi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-12 1:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-11 22:20 [2.6 patch] wireless/ipw2200.c: add __dev{init,exit} annotations Adrian Bunk
2007-12-12 1:02 ` Zhu Yi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).