aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/DAC960.c
diff options
context:
space:
mode:
authorRichard Knutsson <ricknu-0@student.ltu.se>2005-11-30 00:59:34 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-09 12:13:22 -0800
commit9bfab8cec652c80b4864b4d9247520dca042c2df (patch)
treed76d008e653949d7b9ead359d44c3662e99cd194 /drivers/block/DAC960.c
parentd1d6da8f9fb9a0633a2f36b84b292752d78f7d31 (diff)
downloadkernel_samsung_espresso10-9bfab8cec652c80b4864b4d9247520dca042c2df.zip
kernel_samsung_espresso10-9bfab8cec652c80b4864b4d9247520dca042c2df.tar.gz
kernel_samsung_espresso10-9bfab8cec652c80b4864b4d9247520dca042c2df.tar.bz2
[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/DAC960.c')
-rw-r--r--drivers/block/DAC960.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c
index 4a7bb7d..6ede1f3 100644
--- a/drivers/block/DAC960.c
+++ b/drivers/block/DAC960.c
@@ -7179,7 +7179,7 @@ static int DAC960_init_module(void)
{
int ret;
- ret = pci_module_init(&DAC960_pci_driver);
+ ret = pci_register_driver(&DAC960_pci_driver);
#ifdef DAC960_GAM_MINOR
if (!ret)
DAC960_gam_init();