diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2014-09-01 04:26:04 -0400 |
---|---|---|
committer | Nicolas Ferre <nicolas.ferre@atmel.com> | 2014-09-01 12:39:24 -0400 |
commit | 94d450edfdc6dab0bb92dcbb06f5ea3244558bf4 (patch) | |
tree | 922e02335aadd1693eb96d704319af09097ec3a8 /drivers/power/reset | |
parent | c8260db557389c1fb46eeafb54414b03d9f19e49 (diff) |
ARM: at91/power/reset: fix Kconfig "depends on" directive
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>
Diffstat (limited to 'drivers/power/reset')
-rw-r--r-- | drivers/power/reset/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index c1c046d0464e..81b445122eea 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig | |||
@@ -16,7 +16,7 @@ config POWER_RESET_AS3722 | |||
16 | 16 | ||
17 | config POWER_RESET_AT91_POWEROFF | 17 | config POWER_RESET_AT91_POWEROFF |
18 | bool "Atmel AT91 poweroff driver" | 18 | bool "Atmel AT91 poweroff driver" |
19 | depends on MACH_AT91 | 19 | depends on ARCH_AT91 |
20 | default SOC_AT91SAM9 || SOC_SAMA5 | 20 | default SOC_AT91SAM9 || SOC_SAMA5 |
21 | help | 21 | help |
22 | This driver supports poweroff for Atmel AT91SAM9 and SAMA5 | 22 | This driver supports poweroff for Atmel AT91SAM9 and SAMA5 |
@@ -24,7 +24,7 @@ config POWER_RESET_AT91_POWEROFF | |||
24 | 24 | ||
25 | config POWER_RESET_AT91_RESET | 25 | config POWER_RESET_AT91_RESET |
26 | bool "Atmel AT91 reset driver" | 26 | bool "Atmel AT91 reset driver" |
27 | depends on MACH_AT91 | 27 | depends on ARCH_AT91 |
28 | default SOC_AT91SAM9 || SOC_SAMA5 | 28 | default SOC_AT91SAM9 || SOC_SAMA5 |
29 | help | 29 | help |
30 | This driver supports restart for Atmel AT91SAM9 and SAMA5 | 30 | This driver supports restart for Atmel AT91SAM9 and SAMA5 |