diff options
Diffstat (limited to 'arch/parisc/kernel/time.c')
-rw-r--r-- | arch/parisc/kernel/time.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/parisc/kernel/time.c b/arch/parisc/kernel/time.c index badaad9ff139..d4dd05674c62 100644 --- a/arch/parisc/kernel/time.c +++ b/arch/parisc/kernel/time.c | |||
@@ -217,17 +217,14 @@ void __init start_cpu_itimer(void) | |||
217 | per_cpu(cpu_data, cpu).it_value = next_tick; | 217 | per_cpu(cpu_data, cpu).it_value = next_tick; |
218 | } | 218 | } |
219 | 219 | ||
220 | struct platform_device rtc_parisc_dev = { | 220 | static struct platform_device rtc_generic_dev = { |
221 | .name = "rtc-parisc", | 221 | .name = "rtc-generic", |
222 | .id = -1, | 222 | .id = -1, |
223 | }; | 223 | }; |
224 | 224 | ||
225 | static int __init rtc_init(void) | 225 | static int __init rtc_init(void) |
226 | { | 226 | { |
227 | int ret; | 227 | if (platform_device_register(&rtc_generic_dev) < 0) |
228 | |||
229 | ret = platform_device_register(&rtc_parisc_dev); | ||
230 | if (ret < 0) | ||
231 | printk(KERN_ERR "unable to register rtc device...\n"); | 228 | printk(KERN_ERR "unable to register rtc device...\n"); |
232 | 229 | ||
233 | /* not necessarily an error */ | 230 | /* not necessarily an error */ |