diff options
author | David S. Miller <davem@davemloft.net> | 2009-01-08 14:05:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-08 14:05:59 -0500 |
commit | 7f46b1343f723f98634a5dcee47856b2000079ed (patch) | |
tree | ed22b6298c8dd2f687890a0d79abcd1d273b5f81 /drivers/s390/net | |
parent | b8c31da64165b8566fc6e1c9c826f76e7b98ff02 (diff) | |
parent | 9e42d0cf5020aaf217433cad1a224745241d212a (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/s390/net')
-rw-r--r-- | drivers/s390/net/cu3088.c | 7 | ||||
-rw-r--r-- | drivers/s390/net/qeth_core_main.c | 7 | ||||
-rw-r--r-- | drivers/s390/net/qeth_l2_main.c | 2 | ||||
-rw-r--r-- | drivers/s390/net/qeth_l3_main.c | 2 |
4 files changed, 6 insertions, 12 deletions
diff --git a/drivers/s390/net/cu3088.c b/drivers/s390/net/cu3088.c index f4a32375c037..48383459e99b 100644 --- a/drivers/s390/net/cu3088.c +++ b/drivers/s390/net/cu3088.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <linux/module.h> | 25 | #include <linux/module.h> |
26 | #include <linux/err.h> | 26 | #include <linux/err.h> |
27 | 27 | ||
28 | #include <asm/s390_rdev.h> | ||
29 | #include <asm/ccwdev.h> | 28 | #include <asm/ccwdev.h> |
30 | #include <asm/ccwgroup.h> | 29 | #include <asm/ccwgroup.h> |
31 | 30 | ||
@@ -120,12 +119,12 @@ cu3088_init (void) | |||
120 | { | 119 | { |
121 | int rc; | 120 | int rc; |
122 | 121 | ||
123 | cu3088_root_dev = s390_root_dev_register("cu3088"); | 122 | cu3088_root_dev = root_device_register("cu3088"); |
124 | if (IS_ERR(cu3088_root_dev)) | 123 | if (IS_ERR(cu3088_root_dev)) |
125 | return PTR_ERR(cu3088_root_dev); | 124 | return PTR_ERR(cu3088_root_dev); |
126 | rc = ccw_driver_register(&cu3088_driver); | 125 | rc = ccw_driver_register(&cu3088_driver); |
127 | if (rc) | 126 | if (rc) |
128 | s390_root_dev_unregister(cu3088_root_dev); | 127 | root_device_unregister(cu3088_root_dev); |
129 | 128 | ||
130 | return rc; | 129 | return rc; |
131 | } | 130 | } |
@@ -134,7 +133,7 @@ static void __exit | |||
134 | cu3088_exit (void) | 133 | cu3088_exit (void) |
135 | { | 134 | { |
136 | ccw_driver_unregister(&cu3088_driver); | 135 | ccw_driver_unregister(&cu3088_driver); |
137 | s390_root_dev_unregister(cu3088_root_dev); | 136 | root_device_unregister(cu3088_root_dev); |
138 | } | 137 | } |
139 | 138 | ||
140 | MODULE_DEVICE_TABLE(ccw,cu3088_ids); | 139 | MODULE_DEVICE_TABLE(ccw,cu3088_ids); |
diff --git a/drivers/s390/net/qeth_core_main.c b/drivers/s390/net/qeth_core_main.c index 6811dd529f48..d1b5bebea7fb 100644 --- a/drivers/s390/net/qeth_core_main.c +++ b/drivers/s390/net/qeth_core_main.c | |||
@@ -24,7 +24,6 @@ | |||
24 | 24 | ||
25 | #include <asm/ebcdic.h> | 25 | #include <asm/ebcdic.h> |
26 | #include <asm/io.h> | 26 | #include <asm/io.h> |
27 | #include <asm/s390_rdev.h> | ||
28 | 27 | ||
29 | #include "qeth_core.h" | 28 | #include "qeth_core.h" |
30 | #include "qeth_core_offl.h" | 29 | #include "qeth_core_offl.h" |
@@ -4525,7 +4524,7 @@ static int __init qeth_core_init(void) | |||
4525 | &driver_attr_group); | 4524 | &driver_attr_group); |
4526 | if (rc) | 4525 | if (rc) |
4527 | goto driver_err; | 4526 | goto driver_err; |
4528 | qeth_core_root_dev = s390_root_dev_register("qeth"); | 4527 | qeth_core_root_dev = root_device_register("qeth"); |
4529 | rc = IS_ERR(qeth_core_root_dev) ? PTR_ERR(qeth_core_root_dev) : 0; | 4528 | rc = IS_ERR(qeth_core_root_dev) ? PTR_ERR(qeth_core_root_dev) : 0; |
4530 | if (rc) | 4529 | if (rc) |
4531 | goto register_err; | 4530 | goto register_err; |
@@ -4539,7 +4538,7 @@ static int __init qeth_core_init(void) | |||
4539 | 4538 | ||
4540 | return 0; | 4539 | return 0; |
4541 | slab_err: | 4540 | slab_err: |
4542 | s390_root_dev_unregister(qeth_core_root_dev); | 4541 | root_device_unregister(qeth_core_root_dev); |
4543 | register_err: | 4542 | register_err: |
4544 | driver_remove_file(&qeth_core_ccwgroup_driver.driver, | 4543 | driver_remove_file(&qeth_core_ccwgroup_driver.driver, |
4545 | &driver_attr_group); | 4544 | &driver_attr_group); |
@@ -4557,7 +4556,7 @@ out_err: | |||
4557 | 4556 | ||
4558 | static void __exit qeth_core_exit(void) | 4557 | static void __exit qeth_core_exit(void) |
4559 | { | 4558 | { |
4560 | s390_root_dev_unregister(qeth_core_root_dev); | 4559 | root_device_unregister(qeth_core_root_dev); |
4561 | driver_remove_file(&qeth_core_ccwgroup_driver.driver, | 4560 | driver_remove_file(&qeth_core_ccwgroup_driver.driver, |
4562 | &driver_attr_group); | 4561 | &driver_attr_group); |
4563 | ccwgroup_driver_unregister(&qeth_core_ccwgroup_driver); | 4562 | ccwgroup_driver_unregister(&qeth_core_ccwgroup_driver); |
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c index e873d45f1a71..c4f1b046c3b1 100644 --- a/drivers/s390/net/qeth_l2_main.c +++ b/drivers/s390/net/qeth_l2_main.c | |||
@@ -20,8 +20,6 @@ | |||
20 | #include <linux/mii.h> | 20 | #include <linux/mii.h> |
21 | #include <linux/ip.h> | 21 | #include <linux/ip.h> |
22 | 22 | ||
23 | #include <asm/s390_rdev.h> | ||
24 | |||
25 | #include "qeth_core.h" | 23 | #include "qeth_core.h" |
26 | #include "qeth_core_offl.h" | 24 | #include "qeth_core_offl.h" |
27 | 25 | ||
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c index eeeb35b07296..68d623ab7e6e 100644 --- a/drivers/s390/net/qeth_l3_main.c +++ b/drivers/s390/net/qeth_l3_main.c | |||
@@ -26,8 +26,6 @@ | |||
26 | #include <net/ip.h> | 26 | #include <net/ip.h> |
27 | #include <net/arp.h> | 27 | #include <net/arp.h> |
28 | 28 | ||
29 | #include <asm/s390_rdev.h> | ||
30 | |||
31 | #include "qeth_l3.h" | 29 | #include "qeth_l3.h" |
32 | #include "qeth_core_offl.h" | 30 | #include "qeth_core_offl.h" |
33 | 31 | ||