diff options
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-integrator/integrator_ap.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/cm-x270.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/lpd270.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/lubbock.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-pxa/mainstone.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2410/s3c2410.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2412/s3c2412.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2440/mach-osiris.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c2443/s3c2443.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/irq.c | 2 | ||||
-rw-r--r-- | arch/arm/oprofile/common.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-omap/gpio.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/dma.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/s3c244x.c | 4 |
15 files changed, 17 insertions, 17 deletions
diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c index 1533d3ecd7a0..f6f3689a86ee 100644 --- a/arch/arm/kernel/time.c +++ b/arch/arm/kernel/time.c | |||
@@ -195,7 +195,7 @@ static int leds_shutdown(struct sys_device *dev) | |||
195 | } | 195 | } |
196 | 196 | ||
197 | static struct sysdev_class leds_sysclass = { | 197 | static struct sysdev_class leds_sysclass = { |
198 | set_kset_name("leds"), | 198 | .name = "leds", |
199 | .shutdown = leds_shutdown, | 199 | .shutdown = leds_shutdown, |
200 | .suspend = leds_suspend, | 200 | .suspend = leds_suspend, |
201 | .resume = leds_resume, | 201 | .resume = leds_resume, |
@@ -369,7 +369,7 @@ static int timer_resume(struct sys_device *dev) | |||
369 | #endif | 369 | #endif |
370 | 370 | ||
371 | static struct sysdev_class timer_sysclass = { | 371 | static struct sysdev_class timer_sysclass = { |
372 | set_kset_name("timer"), | 372 | .name = "timer", |
373 | .suspend = timer_suspend, | 373 | .suspend = timer_suspend, |
374 | .resume = timer_resume, | 374 | .resume = timer_resume, |
375 | }; | 375 | }; |
diff --git a/arch/arm/mach-integrator/integrator_ap.c b/arch/arm/mach-integrator/integrator_ap.c index 72280754354d..df37e93c6fc9 100644 --- a/arch/arm/mach-integrator/integrator_ap.c +++ b/arch/arm/mach-integrator/integrator_ap.c | |||
@@ -214,7 +214,7 @@ static int irq_resume(struct sys_device *dev) | |||
214 | #endif | 214 | #endif |
215 | 215 | ||
216 | static struct sysdev_class irq_class = { | 216 | static struct sysdev_class irq_class = { |
217 | set_kset_name("irq"), | 217 | .name = "irq", |
218 | .suspend = irq_suspend, | 218 | .suspend = irq_suspend, |
219 | .resume = irq_resume, | 219 | .resume = irq_resume, |
220 | }; | 220 | }; |
diff --git a/arch/arm/mach-pxa/cm-x270.c b/arch/arm/mach-pxa/cm-x270.c index 177664ccb2e2..a16349272f54 100644 --- a/arch/arm/mach-pxa/cm-x270.c +++ b/arch/arm/mach-pxa/cm-x270.c | |||
@@ -566,7 +566,7 @@ static int cmx270_resume(struct sys_device *dev) | |||
566 | } | 566 | } |
567 | 567 | ||
568 | static struct sysdev_class cmx270_pm_sysclass = { | 568 | static struct sysdev_class cmx270_pm_sysclass = { |
569 | set_kset_name("pm"), | 569 | .name = "pm", |
570 | .resume = cmx270_resume, | 570 | .resume = cmx270_resume, |
571 | .suspend = cmx270_suspend, | 571 | .suspend = cmx270_suspend, |
572 | }; | 572 | }; |
diff --git a/arch/arm/mach-pxa/lpd270.c b/arch/arm/mach-pxa/lpd270.c index 26116440a7c9..78ebad063cba 100644 --- a/arch/arm/mach-pxa/lpd270.c +++ b/arch/arm/mach-pxa/lpd270.c | |||
@@ -122,7 +122,7 @@ static int lpd270_irq_resume(struct sys_device *dev) | |||
122 | } | 122 | } |
123 | 123 | ||
124 | static struct sysdev_class lpd270_irq_sysclass = { | 124 | static struct sysdev_class lpd270_irq_sysclass = { |
125 | set_kset_name("cpld_irq"), | 125 | .name = "cpld_irq", |
126 | .resume = lpd270_irq_resume, | 126 | .resume = lpd270_irq_resume, |
127 | }; | 127 | }; |
128 | 128 | ||
diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c index 011a1a72b61c..1d3112dc629e 100644 --- a/arch/arm/mach-pxa/lubbock.c +++ b/arch/arm/mach-pxa/lubbock.c | |||
@@ -126,7 +126,7 @@ static int lubbock_irq_resume(struct sys_device *dev) | |||
126 | } | 126 | } |
127 | 127 | ||
128 | static struct sysdev_class lubbock_irq_sysclass = { | 128 | static struct sysdev_class lubbock_irq_sysclass = { |
129 | set_kset_name("cpld_irq"), | 129 | .name = "cpld_irq", |
130 | .resume = lubbock_irq_resume, | 130 | .resume = lubbock_irq_resume, |
131 | }; | 131 | }; |
132 | 132 | ||
diff --git a/arch/arm/mach-pxa/mainstone.c b/arch/arm/mach-pxa/mainstone.c index a4bc3483cbb3..41d8c6cea62b 100644 --- a/arch/arm/mach-pxa/mainstone.c +++ b/arch/arm/mach-pxa/mainstone.c | |||
@@ -120,7 +120,7 @@ static int mainstone_irq_resume(struct sys_device *dev) | |||
120 | } | 120 | } |
121 | 121 | ||
122 | static struct sysdev_class mainstone_irq_sysclass = { | 122 | static struct sysdev_class mainstone_irq_sysclass = { |
123 | set_kset_name("cpld_irq"), | 123 | .name = "cpld_irq", |
124 | .resume = mainstone_irq_resume, | 124 | .resume = mainstone_irq_resume, |
125 | }; | 125 | }; |
126 | 126 | ||
diff --git a/arch/arm/mach-s3c2410/s3c2410.c b/arch/arm/mach-s3c2410/s3c2410.c index e580303cb0ab..0e7991940f81 100644 --- a/arch/arm/mach-s3c2410/s3c2410.c +++ b/arch/arm/mach-s3c2410/s3c2410.c | |||
@@ -100,7 +100,7 @@ void __init s3c2410_init_clocks(int xtal) | |||
100 | } | 100 | } |
101 | 101 | ||
102 | struct sysdev_class s3c2410_sysclass = { | 102 | struct sysdev_class s3c2410_sysclass = { |
103 | set_kset_name("s3c2410-core"), | 103 | .name = "s3c2410-core", |
104 | }; | 104 | }; |
105 | 105 | ||
106 | static struct sys_device s3c2410_sysdev = { | 106 | static struct sys_device s3c2410_sysdev = { |
diff --git a/arch/arm/mach-s3c2412/s3c2412.c b/arch/arm/mach-s3c2412/s3c2412.c index 4f92a1562d77..265cd3f567a3 100644 --- a/arch/arm/mach-s3c2412/s3c2412.c +++ b/arch/arm/mach-s3c2412/s3c2412.c | |||
@@ -196,7 +196,7 @@ void __init s3c2412_init_clocks(int xtal) | |||
196 | */ | 196 | */ |
197 | 197 | ||
198 | struct sysdev_class s3c2412_sysclass = { | 198 | struct sysdev_class s3c2412_sysclass = { |
199 | set_kset_name("s3c2412-core"), | 199 | .name = "s3c2412-core", |
200 | }; | 200 | }; |
201 | 201 | ||
202 | static int __init s3c2412_core_init(void) | 202 | static int __init s3c2412_core_init(void) |
diff --git a/arch/arm/mach-s3c2440/mach-osiris.c b/arch/arm/mach-s3c2440/mach-osiris.c index c326983f4a8f..78af7664988b 100644 --- a/arch/arm/mach-s3c2440/mach-osiris.c +++ b/arch/arm/mach-s3c2440/mach-osiris.c | |||
@@ -312,7 +312,7 @@ static int osiris_pm_resume(struct sys_device *sd) | |||
312 | #endif | 312 | #endif |
313 | 313 | ||
314 | static struct sysdev_class osiris_pm_sysclass = { | 314 | static struct sysdev_class osiris_pm_sysclass = { |
315 | set_kset_name("mach-osiris"), | 315 | .name = "mach-osiris", |
316 | .suspend = osiris_pm_suspend, | 316 | .suspend = osiris_pm_suspend, |
317 | .resume = osiris_pm_resume, | 317 | .resume = osiris_pm_resume, |
318 | }; | 318 | }; |
diff --git a/arch/arm/mach-s3c2443/s3c2443.c b/arch/arm/mach-s3c2443/s3c2443.c index 8d8117158d23..9ce490560af9 100644 --- a/arch/arm/mach-s3c2443/s3c2443.c +++ b/arch/arm/mach-s3c2443/s3c2443.c | |||
@@ -43,7 +43,7 @@ static struct map_desc s3c2443_iodesc[] __initdata = { | |||
43 | }; | 43 | }; |
44 | 44 | ||
45 | struct sysdev_class s3c2443_sysclass = { | 45 | struct sysdev_class s3c2443_sysclass = { |
46 | set_kset_name("s3c2443-core"), | 46 | .name = "s3c2443-core", |
47 | }; | 47 | }; |
48 | 48 | ||
49 | static struct sys_device s3c2443_sysdev = { | 49 | static struct sys_device s3c2443_sysdev = { |
diff --git a/arch/arm/mach-sa1100/irq.c b/arch/arm/mach-sa1100/irq.c index edf3347d9c5b..3dc17d7bf38e 100644 --- a/arch/arm/mach-sa1100/irq.c +++ b/arch/arm/mach-sa1100/irq.c | |||
@@ -283,7 +283,7 @@ static int sa1100irq_resume(struct sys_device *dev) | |||
283 | } | 283 | } |
284 | 284 | ||
285 | static struct sysdev_class sa1100irq_sysclass = { | 285 | static struct sysdev_class sa1100irq_sysclass = { |
286 | set_kset_name("sa11x0-irq"), | 286 | .name = "sa11x0-irq", |
287 | .suspend = sa1100irq_suspend, | 287 | .suspend = sa1100irq_suspend, |
288 | .resume = sa1100irq_resume, | 288 | .resume = sa1100irq_resume, |
289 | }; | 289 | }; |
diff --git a/arch/arm/oprofile/common.c b/arch/arm/oprofile/common.c index a9de727c9327..0a5cf3a6438b 100644 --- a/arch/arm/oprofile/common.c +++ b/arch/arm/oprofile/common.c | |||
@@ -96,7 +96,7 @@ static int op_arm_resume(struct sys_device *dev) | |||
96 | } | 96 | } |
97 | 97 | ||
98 | static struct sysdev_class oprofile_sysclass = { | 98 | static struct sysdev_class oprofile_sysclass = { |
99 | set_kset_name("oprofile"), | 99 | .name = "oprofile", |
100 | .resume = op_arm_resume, | 100 | .resume = op_arm_resume, |
101 | .suspend = op_arm_suspend, | 101 | .suspend = op_arm_suspend, |
102 | }; | 102 | }; |
diff --git a/arch/arm/plat-omap/gpio.c b/arch/arm/plat-omap/gpio.c index 6097753394ad..b2a87b8ef673 100644 --- a/arch/arm/plat-omap/gpio.c +++ b/arch/arm/plat-omap/gpio.c | |||
@@ -1455,7 +1455,7 @@ static int omap_gpio_resume(struct sys_device *dev) | |||
1455 | } | 1455 | } |
1456 | 1456 | ||
1457 | static struct sysdev_class omap_gpio_sysclass = { | 1457 | static struct sysdev_class omap_gpio_sysclass = { |
1458 | set_kset_name("gpio"), | 1458 | .name = "gpio", |
1459 | .suspend = omap_gpio_suspend, | 1459 | .suspend = omap_gpio_suspend, |
1460 | .resume = omap_gpio_resume, | 1460 | .resume = omap_gpio_resume, |
1461 | }; | 1461 | }; |
diff --git a/arch/arm/plat-s3c24xx/dma.c b/arch/arm/plat-s3c24xx/dma.c index 29696e46ed65..aae1b9cbaf44 100644 --- a/arch/arm/plat-s3c24xx/dma.c +++ b/arch/arm/plat-s3c24xx/dma.c | |||
@@ -1265,7 +1265,7 @@ static int s3c2410_dma_resume(struct sys_device *dev) | |||
1265 | #endif /* CONFIG_PM */ | 1265 | #endif /* CONFIG_PM */ |
1266 | 1266 | ||
1267 | struct sysdev_class dma_sysclass = { | 1267 | struct sysdev_class dma_sysclass = { |
1268 | set_kset_name("s3c24xx-dma"), | 1268 | .name = "s3c24xx-dma", |
1269 | .suspend = s3c2410_dma_suspend, | 1269 | .suspend = s3c2410_dma_suspend, |
1270 | .resume = s3c2410_dma_resume, | 1270 | .resume = s3c2410_dma_resume, |
1271 | }; | 1271 | }; |
diff --git a/arch/arm/plat-s3c24xx/s3c244x.c b/arch/arm/plat-s3c24xx/s3c244x.c index 3444b13afac5..f197bb3a2366 100644 --- a/arch/arm/plat-s3c24xx/s3c244x.c +++ b/arch/arm/plat-s3c24xx/s3c244x.c | |||
@@ -151,13 +151,13 @@ static int s3c244x_resume(struct sys_device *dev) | |||
151 | /* Since the S3C2442 and S3C2440 share items, put both sysclasses here */ | 151 | /* Since the S3C2442 and S3C2440 share items, put both sysclasses here */ |
152 | 152 | ||
153 | struct sysdev_class s3c2440_sysclass = { | 153 | struct sysdev_class s3c2440_sysclass = { |
154 | set_kset_name("s3c2440-core"), | 154 | .name = "s3c2440-core", |
155 | .suspend = s3c244x_suspend, | 155 | .suspend = s3c244x_suspend, |
156 | .resume = s3c244x_resume | 156 | .resume = s3c244x_resume |
157 | }; | 157 | }; |
158 | 158 | ||
159 | struct sysdev_class s3c2442_sysclass = { | 159 | struct sysdev_class s3c2442_sysclass = { |
160 | set_kset_name("s3c2442-core"), | 160 | .name = "s3c2442-core", |
161 | .suspend = s3c244x_suspend, | 161 | .suspend = s3c244x_suspend, |
162 | .resume = s3c244x_resume | 162 | .resume = s3c244x_resume |
163 | }; | 163 | }; |