aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/umem.c
diff options
context:
space:
mode:
authorRichard Knutsson <ricknu-0@student.ltu.se>2005-11-29 18:59:34 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-09 15:13:22 -0500
commit9bfab8cec652c80b4864b4d9247520dca042c2df (patch)
treed76d008e653949d7b9ead359d44c3662e99cd194 /drivers/block/umem.c
parentd1d6da8f9fb9a0633a2f36b84b292752d78f7d31 (diff)
[PATCH] drivers/block: Replace pci_module_init() with pci_register_driver()
Replace obsolete pci_module_init() with pci_register_driver(). Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/block/umem.c')
-rw-r--r--drivers/block/umem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/umem.c b/drivers/block/umem.c
index 15299e7a1ade..a3614e6a68d0 100644
--- a/drivers/block/umem.c
+++ b/drivers/block/umem.c
@@ -1174,7 +1174,7 @@ static int __init mm_init(void)
1174 1174
1175 printk(KERN_INFO DRIVER_VERSION " : " DRIVER_DESC "\n"); 1175 printk(KERN_INFO DRIVER_VERSION " : " DRIVER_DESC "\n");
1176 1176
1177 retval = pci_module_init(&mm_pci_driver); 1177 retval = pci_register_driver(&mm_pci_driver);
1178 if (retval) 1178 if (retval)
1179 return -ENOMEM; 1179 return -ENOMEM;
1180 1180