Skip to content

Commit

Permalink
[PATCH] dvb: saa7146: kj pci_module_init cleanup
Browse files Browse the repository at this point in the history
http://kerneljanitors.org/TODO
- convert from pci_module_init to pci_register_driver

Signed-off-by: Christophe Lucas <c.lucas@ifrance.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Christophe Lucas authored and Linus Torvalds committed Jul 8, 2005
1 parent c7cadb3 commit 178c6ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/common/saa7146_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ int saa7146_register_extension(struct saa7146_extension* ext)
ext->driver.remove = saa7146_remove_one;

printk("saa7146: register extension '%s'.\n",ext->name);
return pci_module_init(&ext->driver);
return pci_register_driver(&ext->driver);
}

int saa7146_unregister_extension(struct saa7146_extension* ext)
Expand Down

0 comments on commit 178c6ef

Please sign in to comment.