diff options
| author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2015-09-30 04:19:38 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 13:45:18 -0400 |
| commit | c8d1f02245a3cf36d0817deba88caf13de498a43 (patch) | |
| tree | cd1f73e3541fce8e91de5bbf8c8b96bf5d7bdda7 /drivers/tty/serial/Kconfig | |
| parent | abc7882aacdb4b0e110026bff9b52fb783f4ebd8 (diff) | |
serial: atmel: allow compile testing on non-atmel architectures
This commit also fixes compiler warnings and errors seen when building
on x86_64.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
| -rw-r--r-- | drivers/tty/serial/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 9e2cc51d205a..835ef4d3028f 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig | |||
| @@ -115,9 +115,9 @@ config SERIAL_SB1250_DUART_CONSOLE | |||
| 115 | 115 | ||
| 116 | config SERIAL_ATMEL | 116 | config SERIAL_ATMEL |
| 117 | bool "AT91 / AT32 on-chip serial port support" | 117 | bool "AT91 / AT32 on-chip serial port support" |
| 118 | depends on ARCH_AT91 || AVR32 | 118 | depends on ARCH_AT91 || AVR32 || COMPILE_TEST |
| 119 | select SERIAL_CORE | 119 | select SERIAL_CORE |
| 120 | select SERIAL_MCTRL_GPIO | 120 | select SERIAL_MCTRL_GPIO if GPIOLIB |
| 121 | help | 121 | help |
| 122 | This enables the driver for the on-chip UARTs of the Atmel | 122 | This enables the driver for the on-chip UARTs of the Atmel |
| 123 | AT91 and AT32 processors. | 123 | AT91 and AT32 processors. |
