Commit 8a483e3b authored by Jean Delvare's avatar Jean Delvare Committed by Greg Kroah-Hartman

mfd: at91-usart: Add platform dependency

[ Upstream commit 628f3dfe ]

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: 7d3aa342 ("mfd: at91-usart: Add MFD driver for USART")
Signed-off-by: 's avatarJean Delvare <jdelvare@suse.de>
Signed-off-by: 's avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: 's avatarSasha Levin <sashal@kernel.org>
parent ad50bff2
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment