Skip to content

Commit 8b6e47a

Browse files
avictortorvalds
authored andcommitted
AT91: atmel_pwm only available for certain AT91 processors
Only three of Atmel's AT91 processors (SAM9263, SAM9RL and CAP9) include a PWM controller. It should therefore only be possible to enable the misc/atmel_pwm.c driver on those processors (and not all AT91 processors). Signed-off-by: Andrew Victor <[email protected]> Cc: Haavard Skinnemoen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent d133181 commit 8b6e47a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/misc/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if MISC_DEVICES
1515

1616
config ATMEL_PWM
1717
tristate "Atmel AT32/AT91 PWM support"
18-
depends on AVR32 || ARCH_AT91
18+
depends on AVR32 || ARCH_AT91SAM9263 || ARCH_AT91SAM9RL || ARCH_AT91CAP9
1919
help
2020
This option enables device driver support for the PWM channels
2121
on certain Atmel prcoessors. Pulse Width Modulation is used for

0 commit comments

Comments
 (0)