From: Luis de Bethencourt <luisbg@osg.samsung.com>
Date: Sat, 10 Oct 2015 16:08:32 +0000 (+0100)
Subject: mmc: android-goldfish: Allow compiling the driver with COMPILE_TEST
X-Git-Tag: firefly_0821_release~176^2~850^2~27
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7f8a9a7e98f99e9cd874eaf6ca2f00438c2a7c38;p=firefly-linux-kernel-4.4.55.git

mmc: android-goldfish: Allow compiling the driver with COMPILE_TEST

The driver depends on GOLDFISH but there isn't a build dependency
so it's a good idea to allow the driver to always be built when the
COMPILE_TEST option is enabled.

That way, the driver can be built with a config generated by make
allyesconfig and check if a patch would break the build.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 12b274a25735..56f5b1487008 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -473,7 +473,7 @@ config MMC_DAVINCI
 
 config MMC_GOLDFISH
 	tristate "goldfish qemu Multimedia Card Interface support"
-	depends on GOLDFISH
+	depends on GOLDFISH || COMPILE_TEST
 	help
 	  This selects the Goldfish Multimedia card Interface emulation
 	  found on the Goldfish Android virtual device emulation.