diff options
author | Christophe Lucas <clucas@ifrance.com> | 2006-03-20 22:00:27 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-20 22:00:27 -0500 |
commit | a85d771e32f9724b61a68748cc667d1e11fe3478 (patch) | |
tree | bcf205e97e0952c5ab8461f0a6f97d2dca8f84cb /drivers/net/irda/donauboe.c | |
parent | 034888262eb8de1a91bc471d4e6d8173f6b3dbda (diff) |
[IRDA]: pci_register_driver conversion
This patch converts 2 IrDA drivers pci_module_init() calls to
pci_register_driver().
Signed-off-by: Christophe Lucas <clucas@ifrance.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda/donauboe.c')
-rw-r--r-- | drivers/net/irda/donauboe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/donauboe.c b/drivers/net/irda/donauboe.c index 3137592d60c0..910c0cab35b0 100644 --- a/drivers/net/irda/donauboe.c +++ b/drivers/net/irda/donauboe.c | |||
@@ -1778,7 +1778,7 @@ static struct pci_driver donauboe_pci_driver = { | |||
1778 | static int __init | 1778 | static int __init |
1779 | donauboe_init (void) | 1779 | donauboe_init (void) |
1780 | { | 1780 | { |
1781 | return pci_module_init(&donauboe_pci_driver); | 1781 | return pci_register_driver(&donauboe_pci_driver); |
1782 | } | 1782 | } |
1783 | 1783 | ||
1784 | static void __exit | 1784 | static void __exit |