mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-18 20:04:16 +08: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