diff options
author | Jean Delvare <jdelvare@suse.de> | 2014-04-23 09:18:06 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-03 19:25:17 -0400 |
commit | fc1a5dbe49d42d9d46800e2af4cc75ee01c3d141 (patch) | |
tree | b59042c645d988b2fd766daf6d800b9e4cc411a6 /drivers/misc | |
parent | ae339336dc950b9b05e7ccd3565dd3e8781c06d9 (diff) |
misc: Add hardware dependencies to Atmel drivers
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 <jdelvare@suse.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 8baff0effc7d..fe2230cb64e2 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -53,7 +53,7 @@ config AD525X_DPOT_SPI | |||
53 | 53 | ||
54 | config ATMEL_PWM | 54 | config ATMEL_PWM |
55 | tristate "Atmel AT32/AT91 PWM support" | 55 | tristate "Atmel AT32/AT91 PWM support" |
56 | depends on HAVE_CLK | 56 | depends on HAVE_CLK && (AVR32 || ARCH_AT91 || COMPILE_TEST) |
57 | help | 57 | help |
58 | This option enables device driver support for the PWM channels | 58 | This option enables device driver support for the PWM channels |
59 | on certain Atmel processors. Pulse Width Modulation is used for | 59 | on certain Atmel processors. Pulse Width Modulation is used for |
@@ -200,7 +200,7 @@ config ICS932S401 | |||
200 | 200 | ||
201 | config ATMEL_SSC | 201 | config ATMEL_SSC |
202 | tristate "Device driver for Atmel SSC peripheral" | 202 | tristate "Device driver for Atmel SSC peripheral" |
203 | depends on HAS_IOMEM | 203 | depends on HAS_IOMEM && (AVR32 || ARCH_AT91 || COMPILE_TEST) |
204 | ---help--- | 204 | ---help--- |
205 | This option enables device driver support for Atmel Synchronized | 205 | This option enables device driver support for Atmel Synchronized |
206 | Serial Communication peripheral (SSC). | 206 | Serial Communication peripheral (SSC). |