diff options
-rw-r--r-- | arch/cris/arch-v10/drivers/pcf8563.c | 2 | ||||
-rw-r--r-- | arch/cris/arch-v32/drivers/pcf8563.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/cris/arch-v10/drivers/pcf8563.c b/arch/cris/arch-v10/drivers/pcf8563.c index 107796e50149..d47cfbf98d6e 100644 --- a/arch/cris/arch-v10/drivers/pcf8563.c +++ b/arch/cris/arch-v10/drivers/pcf8563.c | |||
@@ -311,7 +311,7 @@ pcf8563_register(void) | |||
311 | { | 311 | { |
312 | pcf8563_init(); | 312 | pcf8563_init(); |
313 | if (register_chrdev(PCF8563_MAJOR, DEVICE_NAME, &pcf8563_fops) < 0) { | 313 | if (register_chrdev(PCF8563_MAJOR, DEVICE_NAME, &pcf8563_fops) < 0) { |
314 | printk(KERN_INFO "%s: Unable to get major numer %d for RTC device.\n", | 314 | printk(KERN_INFO "%s: Unable to get major number %d for RTC device.\n", |
315 | PCF8563_NAME, PCF8563_MAJOR); | 315 | PCF8563_NAME, PCF8563_MAJOR); |
316 | return -1; | 316 | return -1; |
317 | } | 317 | } |
diff --git a/arch/cris/arch-v32/drivers/pcf8563.c b/arch/cris/arch-v32/drivers/pcf8563.c index 544ab0179411..24b919b3821a 100644 --- a/arch/cris/arch-v32/drivers/pcf8563.c +++ b/arch/cris/arch-v32/drivers/pcf8563.c | |||
@@ -171,7 +171,7 @@ pcf8563_init(void) | |||
171 | goto err; | 171 | goto err; |
172 | 172 | ||
173 | if (register_chrdev(PCF8563_MAJOR, DEVICE_NAME, &pcf8563_fops) < 0) { | 173 | if (register_chrdev(PCF8563_MAJOR, DEVICE_NAME, &pcf8563_fops) < 0) { |
174 | printk(KERN_INFO "%s: Unable to get major numer %d for RTC device.\n", | 174 | printk(KERN_INFO "%s: Unable to get major number %d for RTC device.\n", |
175 | PCF8563_NAME, PCF8563_MAJOR); | 175 | PCF8563_NAME, PCF8563_MAJOR); |
176 | return -1; | 176 | return -1; |
177 | } | 177 | } |