aboutsummaryrefslogtreecommitdiffstats
path: root/net/iucv/iucv.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/iucv/iucv.c')
-rw-r--r--net/iucv/iucv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c
index 79a0ce95799f..da787930df0a 100644
--- a/net/iucv/iucv.c
+++ b/net/iucv/iucv.c
@@ -2028,7 +2028,7 @@ static int __init iucv_init(void)
2028 rc = iucv_query_maxconn(); 2028 rc = iucv_query_maxconn();
2029 if (rc) 2029 if (rc)
2030 goto out_ctl; 2030 goto out_ctl;
2031 rc = register_external_interrupt(0x4000, iucv_external_interrupt); 2031 rc = register_external_irq(EXT_IRQ_IUCV, iucv_external_interrupt);
2032 if (rc) 2032 if (rc)
2033 goto out_ctl; 2033 goto out_ctl;
2034 iucv_root = root_device_register("iucv"); 2034 iucv_root = root_device_register("iucv");
@@ -2078,7 +2078,7 @@ out_free:
2078 2078
2079 root_device_unregister(iucv_root); 2079 root_device_unregister(iucv_root);
2080out_int: 2080out_int:
2081 unregister_external_interrupt(0x4000, iucv_external_interrupt); 2081 unregister_external_irq(EXT_IRQ_IUCV, iucv_external_interrupt);
2082out_ctl: 2082out_ctl:
2083 ctl_clear_bit(0, 1); 2083 ctl_clear_bit(0, 1);
2084out: 2084out:
@@ -2109,7 +2109,7 @@ static void __exit iucv_exit(void)
2109 cpu_notifier_register_done(); 2109 cpu_notifier_register_done();
2110 root_device_unregister(iucv_root); 2110 root_device_unregister(iucv_root);
2111 bus_unregister(&iucv_bus); 2111 bus_unregister(&iucv_bus);
2112 unregister_external_interrupt(0x4000, iucv_external_interrupt); 2112 unregister_external_irq(EXT_IRQ_IUCV, iucv_external_interrupt);
2113} 2113}
2114 2114
2115subsys_initcall(iucv_init); 2115subsys_initcall(iucv_init);