summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2018-11-12 12:49:42 +0300
committerLee Jones <lee.jones@linaro.org>2019-01-03 11:32:42 +0300
commit628f3dfe4c7b35bbe63ec194ca6da857b00b0083 (patch)
tree36fdc50e32ced971144330744733a06965544b5e /drivers/mfd
parentb0aff01e7aa6ad2d6998ef1323843212d1db8b04 (diff)
downloadlinux-628f3dfe4c7b35bbe63ec194ca6da857b00b0083.tar.xz
mfd: at91-usart: Add platform dependency
It doesn't make sense to present option MFD_AT91_USART by default if not building an AT91 kernel, as the drivers which depend on it are not available. Fixes: 7d3aa342cef7 ("mfd: at91-usart: Add MFD driver for USART") Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 8c5dfdce4326..f461460a2aeb 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -102,6 +102,7 @@ config MFD_AAT2870_CORE
config MFD_AT91_USART
tristate "AT91 USART Driver"
select MFD_CORE
+ depends on ARCH_AT91 || COMPILE_TEST
help
Select this to get support for AT91 USART IP. This is a wrapper
over at91-usart-serial driver and usart-spi-driver. Only one function