diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/kernel/time.c | 4 | ||||
-rw-r--r-- | arch/sparc64/kernel/auxio.c | 4 | ||||
-rw-r--r-- | arch/sparc64/kernel/power.c | 4 | ||||
-rw-r--r-- | arch/sparc64/kernel/time.c | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/arch/sparc/kernel/time.c b/arch/sparc/kernel/time.c index 6a2513321620..4bf78a5e8e0f 100644 --- a/arch/sparc/kernel/time.c +++ b/arch/sparc/kernel/time.c | |||
@@ -347,9 +347,11 @@ static struct of_device_id clock_match[] = { | |||
347 | }; | 347 | }; |
348 | 348 | ||
349 | static struct of_platform_driver clock_driver = { | 349 | static struct of_platform_driver clock_driver = { |
350 | .name = "clock", | ||
351 | .match_table = clock_match, | 350 | .match_table = clock_match, |
352 | .probe = clock_probe, | 351 | .probe = clock_probe, |
352 | .driver = { | ||
353 | .name = "clock", | ||
354 | }, | ||
353 | }; | 355 | }; |
354 | 356 | ||
355 | 357 | ||
diff --git a/arch/sparc64/kernel/auxio.c b/arch/sparc64/kernel/auxio.c index 7b379761e9f8..c55f0293eacd 100644 --- a/arch/sparc64/kernel/auxio.c +++ b/arch/sparc64/kernel/auxio.c | |||
@@ -148,9 +148,11 @@ static int __devinit auxio_probe(struct of_device *dev, const struct of_device_i | |||
148 | } | 148 | } |
149 | 149 | ||
150 | static struct of_platform_driver auxio_driver = { | 150 | static struct of_platform_driver auxio_driver = { |
151 | .name = "auxio", | ||
152 | .match_table = auxio_match, | 151 | .match_table = auxio_match, |
153 | .probe = auxio_probe, | 152 | .probe = auxio_probe, |
153 | .driver = { | ||
154 | .name = "auxio", | ||
155 | }, | ||
154 | }; | 156 | }; |
155 | 157 | ||
156 | static int __init auxio_init(void) | 158 | static int __init auxio_init(void) |
diff --git a/arch/sparc64/kernel/power.c b/arch/sparc64/kernel/power.c index 881a09ee4c4c..850cdffdd69c 100644 --- a/arch/sparc64/kernel/power.c +++ b/arch/sparc64/kernel/power.c | |||
@@ -105,9 +105,11 @@ static struct of_device_id power_match[] = { | |||
105 | }; | 105 | }; |
106 | 106 | ||
107 | static struct of_platform_driver power_driver = { | 107 | static struct of_platform_driver power_driver = { |
108 | .name = "power", | ||
109 | .match_table = power_match, | 108 | .match_table = power_match, |
110 | .probe = power_probe, | 109 | .probe = power_probe, |
110 | .driver = { | ||
111 | .name = "power", | ||
112 | }, | ||
111 | }; | 113 | }; |
112 | 114 | ||
113 | void __init power_init(void) | 115 | void __init power_init(void) |
diff --git a/arch/sparc64/kernel/time.c b/arch/sparc64/kernel/time.c index 69cad1b653c1..cd8c740cba1d 100644 --- a/arch/sparc64/kernel/time.c +++ b/arch/sparc64/kernel/time.c | |||
@@ -764,9 +764,11 @@ static struct of_device_id clock_match[] = { | |||
764 | }; | 764 | }; |
765 | 765 | ||
766 | static struct of_platform_driver clock_driver = { | 766 | static struct of_platform_driver clock_driver = { |
767 | .name = "clock", | ||
768 | .match_table = clock_match, | 767 | .match_table = clock_match, |
769 | .probe = clock_probe, | 768 | .probe = clock_probe, |
769 | .driver = { | ||
770 | .name = "clock", | ||
771 | }, | ||
770 | }; | 772 | }; |
771 | 773 | ||
772 | static int __init clock_init(void) | 774 | static int __init clock_init(void) |