From b9cd7a254d17dac8098517afdebdac482e59aec4 Mon Sep 17 00:00:00 2001
From: Ludovic Desroches <ludovic.desroches@atmel.com>
Date: Fri, 15 Jan 2016 09:54:18 +0100
Subject: [PATCH] MAINTAINERS: add entry for Atmel SAMA5D2 ADC driver

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
---
 MAINTAINERS             | 6 ++++++
 drivers/iio/adc/Kconfig | 3 +--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 9bff63cf326e7..6ddb488d78f6b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1903,6 +1903,12 @@ M:	Nicolas Ferre <nicolas.ferre@atmel.com>
 S:	Supported
 F:	drivers/tty/serial/atmel_serial.c
 
+ATMEL SAMA5D2 ADC DRIVER
+M:	Ludovic Desroches <ludovic.desroches@atmel.com>
+L:	linux-iio@vger.kernel.org
+S:	Supported
+F:	drivers/iio/adc/at91-sama5d2_adc.c
+
 ATMEL Audio ALSA driver
 M:	Nicolas Ferre <nicolas.ferre@atmel.com>
 L:	alsa-devel@alsa-project.org (moderated for non-subscribers)
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index af4cb8e167b7b..60673b40f2c3f 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -133,8 +133,7 @@ config AT91_ADC
 
 config AT91_SAMA5D2_ADC
 	tristate "Atmel AT91 SAMA5D2 ADC"
-	depends on ARCH_AT91
-	depends on INPUT
+	depends on ARCH_AT91 || COMPILE_TEST
 	help
 	  Say yes here to build support for Atmel SAMA5D2 ADC which is
 	  available on SAMA5D2 SoC family.
-- 
GitLab