diff options
Diffstat (limited to 'arch/arm/mach-s3c64xx/common.c')
-rw-r--r-- | arch/arm/mach-s3c64xx/common.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/mach-s3c64xx/common.c b/arch/arm/mach-s3c64xx/common.c index 35182ba049d..4a7394d4bd9 100644 --- a/arch/arm/mach-s3c64xx/common.c +++ b/arch/arm/mach-s3c64xx/common.c | |||
@@ -19,7 +19,6 @@ | |||
19 | #include <linux/module.h> | 19 | #include <linux/module.h> |
20 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> |
21 | #include <linux/ioport.h> | 21 | #include <linux/ioport.h> |
22 | #include <linux/sysdev.h> | ||
23 | #include <linux/serial_core.h> | 22 | #include <linux/serial_core.h> |
24 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
25 | #include <linux/io.h> | 24 | #include <linux/io.h> |
@@ -139,12 +138,13 @@ static struct map_desc s3c_iodesc[] __initdata = { | |||
139 | }, | 138 | }, |
140 | }; | 139 | }; |
141 | 140 | ||
142 | struct sysdev_class s3c64xx_sysclass = { | 141 | static struct bus_type s3c64xx_subsys = { |
143 | .name = "s3c64xx-core", | 142 | .name = "s3c64xx-core", |
143 | .dev_name = "s3c64xx-core", | ||
144 | }; | 144 | }; |
145 | 145 | ||
146 | static struct sys_device s3c64xx_sysdev = { | 146 | static struct device s3c64xx_dev = { |
147 | .cls = &s3c64xx_sysclass, | 147 | .bus = &s3c64xx_subsys, |
148 | }; | 148 | }; |
149 | 149 | ||
150 | /* read cpu identification code */ | 150 | /* read cpu identification code */ |
@@ -162,12 +162,12 @@ void __init s3c64xx_init_io(struct map_desc *mach_desc, int size) | |||
162 | s3c_init_cpu(samsung_cpu_id, cpu_ids, ARRAY_SIZE(cpu_ids)); | 162 | s3c_init_cpu(samsung_cpu_id, cpu_ids, ARRAY_SIZE(cpu_ids)); |
163 | } | 163 | } |
164 | 164 | ||
165 | static __init int s3c64xx_sysdev_init(void) | 165 | static __init int s3c64xx_dev_init(void) |
166 | { | 166 | { |
167 | sysdev_class_register(&s3c64xx_sysclass); | 167 | subsys_system_register(&s3c64xx_subsys, NULL); |
168 | return sysdev_register(&s3c64xx_sysdev); | 168 | return device_register(&s3c64xx_dev); |
169 | } | 169 | } |
170 | core_initcall(s3c64xx_sysdev_init); | 170 | core_initcall(s3c64xx_dev_init); |
171 | 171 | ||
172 | /* | 172 | /* |
173 | * setup the sources the vic should advertise resume | 173 | * setup the sources the vic should advertise resume |