mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 15:11:50 +00:00
RDMA/amso1100: pci_module_init() conversion
pci_module_init() convertion in amso1100 driver. Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
parent
39af114377
commit
d986a27413
@ -1243,7 +1243,7 @@ static struct pci_driver c2_pci_driver = {
|
||||
|
||||
static int __init c2_init_module(void)
|
||||
{
|
||||
return pci_module_init(&c2_pci_driver);
|
||||
return pci_register_driver(&c2_pci_driver);
|
||||
}
|
||||
|
||||
static void __exit c2_exit_module(void)
|
||||
|
Loading…
Reference in New Issue
Block a user