Skip to content

Commit

Permalink
misc: Add hardware dependencies to Atmel drivers
Browse files Browse the repository at this point in the history
According to the driver descriptions, the atmel_pwm and atmel-ssc
drivers are only useful on Atmel AT32 and AT91 systems. So add
hardware dependencies to these drivers to hide them on other systems.

Signed-off-by: Jean Delvare <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
jdelvare authored and gregkh committed May 3, 2014
1 parent ae33933 commit fc1a5db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/misc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ config AD525X_DPOT_SPI

config ATMEL_PWM
tristate "Atmel AT32/AT91 PWM support"
depends on HAVE_CLK
depends on HAVE_CLK && (AVR32 || ARCH_AT91 || COMPILE_TEST)
help
This option enables device driver support for the PWM channels
on certain Atmel processors. Pulse Width Modulation is used for
Expand Down Expand Up @@ -200,7 +200,7 @@ config ICS932S401

config ATMEL_SSC
tristate "Device driver for Atmel SSC peripheral"
depends on HAS_IOMEM
depends on HAS_IOMEM && (AVR32 || ARCH_AT91 || COMPILE_TEST)
---help---
This option enables device driver support for Atmel Synchronized
Serial Communication peripheral (SSC).
Expand Down

0 comments on commit fc1a5db

Please sign in to comment.