diff options
Diffstat (limited to 'arch/arm/mach-at91/setup.c')
-rw-r--r-- | arch/arm/mach-at91/setup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c index 2ecd1693c804..e8491e77b1f7 100644 --- a/arch/arm/mach-at91/setup.c +++ b/arch/arm/mach-at91/setup.c | |||
@@ -360,7 +360,7 @@ static void at91_dt_rstc(void) | |||
360 | 360 | ||
361 | of_id = of_match_node(rstc_ids, np); | 361 | of_id = of_match_node(rstc_ids, np); |
362 | if (!of_id) | 362 | if (!of_id) |
363 | panic("AT91: rtsc no restart function availlable\n"); | 363 | panic("AT91: rtsc no restart function available\n"); |
364 | 364 | ||
365 | arm_pm_restart = of_id->data; | 365 | arm_pm_restart = of_id->data; |
366 | 366 | ||
@@ -380,7 +380,7 @@ static void at91_dt_ramc(void) | |||
380 | 380 | ||
381 | np = of_find_matching_node(NULL, ramc_ids); | 381 | np = of_find_matching_node(NULL, ramc_ids); |
382 | if (!np) | 382 | if (!np) |
383 | panic("unable to find compatible ram conroller node in dtb\n"); | 383 | panic("unable to find compatible ram controller node in dtb\n"); |
384 | 384 | ||
385 | at91_ramc_base[0] = of_iomap(np, 0); | 385 | at91_ramc_base[0] = of_iomap(np, 0); |
386 | if (!at91_ramc_base[0]) | 386 | if (!at91_ramc_base[0]) |
@@ -430,7 +430,7 @@ static void at91_dt_shdwc(void) | |||
430 | 430 | ||
431 | np = of_find_matching_node(NULL, shdwc_ids); | 431 | np = of_find_matching_node(NULL, shdwc_ids); |
432 | if (!np) { | 432 | if (!np) { |
433 | pr_debug("AT91: unable to find compatible shutdown (shdwc) conroller node in dtb\n"); | 433 | pr_debug("AT91: unable to find compatible shutdown (shdwc) controller node in dtb\n"); |
434 | return; | 434 | return; |
435 | } | 435 | } |
436 | 436 | ||
@@ -446,7 +446,7 @@ static void at91_dt_shdwc(void) | |||
446 | 446 | ||
447 | if (!of_property_read_u32(np, "atmel,wakeup-counter", ®)) { | 447 | if (!of_property_read_u32(np, "atmel,wakeup-counter", ®)) { |
448 | if (reg > AT91_SHDW_CPTWK0_MAX) { | 448 | if (reg > AT91_SHDW_CPTWK0_MAX) { |
449 | pr_warn("AT91: shdwc wakeup conter 0x%x > 0x%x reduce it to 0x%x\n", | 449 | pr_warn("AT91: shdwc wakeup counter 0x%x > 0x%x reduce it to 0x%x\n", |
450 | reg, AT91_SHDW_CPTWK0_MAX, AT91_SHDW_CPTWK0_MAX); | 450 | reg, AT91_SHDW_CPTWK0_MAX, AT91_SHDW_CPTWK0_MAX); |
451 | reg = AT91_SHDW_CPTWK0_MAX; | 451 | reg = AT91_SHDW_CPTWK0_MAX; |
452 | } | 452 | } |