ARM: at91/power/reset: fix Kconfig "depends on" directive
authorNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 1 Sep 2014 08:26:04 +0000 (10:26 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 1 Sep 2014 16:39:24 +0000 (18:39 +0200)
MACH_AT91 doesn't exist so we can't "depend" on it. Fix the typo
by using the proper ARCH_AT91 config option.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/power/reset/Kconfig

index c1c046d0464e398d9d732b19969c791dfb6298c1..81b445122eea147f8b6ff0a69095f231edea41ca 100644 (file)
@@ -16,7 +16,7 @@ config POWER_RESET_AS3722
 
 config POWER_RESET_AT91_POWEROFF
        bool "Atmel AT91 poweroff driver"
-       depends on MACH_AT91
+       depends on ARCH_AT91
        default SOC_AT91SAM9 || SOC_SAMA5
        help
          This driver supports poweroff for Atmel AT91SAM9 and SAMA5
@@ -24,7 +24,7 @@ config POWER_RESET_AT91_POWEROFF
 
 config POWER_RESET_AT91_RESET
        bool "Atmel AT91 reset driver"
-       depends on MACH_AT91
+       depends on ARCH_AT91
        default SOC_AT91SAM9 || SOC_SAMA5
        help
          This driver supports restart for Atmel AT91SAM9 and SAMA5