diff options
Diffstat (limited to 'drivers/ide/legacy/qd65xx.c')
-rw-r--r-- | drivers/ide/legacy/qd65xx.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/ide/legacy/qd65xx.c b/drivers/ide/legacy/qd65xx.c index 2fb8f50f1293..d1414a75b523 100644 --- a/drivers/ide/legacy/qd65xx.c +++ b/drivers/ide/legacy/qd65xx.c | |||
@@ -427,7 +427,7 @@ static int __init qd_probe(int base) | |||
427 | qd_setup(hwif, base, config, QD6500_DEF_DATA, QD6500_DEF_DATA, | 427 | qd_setup(hwif, base, config, QD6500_DEF_DATA, QD6500_DEF_DATA, |
428 | &qd6500_tune_drive); | 428 | &qd6500_tune_drive); |
429 | 429 | ||
430 | create_proc_ide_interfaces(); | 430 | ide_proc_register_port(hwif); |
431 | 431 | ||
432 | return 1; | 432 | return 1; |
433 | } | 433 | } |
@@ -459,7 +459,7 @@ static int __init qd_probe(int base) | |||
459 | &qd6580_tune_drive); | 459 | &qd6580_tune_drive); |
460 | qd_write_reg(QD_DEF_CONTR,QD_CONTROL_PORT); | 460 | qd_write_reg(QD_DEF_CONTR,QD_CONTROL_PORT); |
461 | 461 | ||
462 | create_proc_ide_interfaces(); | 462 | ide_proc_register_port(hwif); |
463 | 463 | ||
464 | return 1; | 464 | return 1; |
465 | } else { | 465 | } else { |
@@ -479,7 +479,8 @@ static int __init qd_probe(int base) | |||
479 | &qd6580_tune_drive); | 479 | &qd6580_tune_drive); |
480 | qd_write_reg(QD_DEF_CONTR,QD_CONTROL_PORT); | 480 | qd_write_reg(QD_DEF_CONTR,QD_CONTROL_PORT); |
481 | 481 | ||
482 | create_proc_ide_interfaces(); | 482 | ide_proc_register_port(hwif); |
483 | ide_proc_register_port(mate); | ||
483 | 484 | ||
484 | return 0; /* no other qd65xx possible */ | 485 | return 0; /* no other qd65xx possible */ |
485 | } | 486 | } |