summaryrefslogtreecommitdiffstats
path: root/drivers/platform/goldfish
diff options
context:
space:
mode:
authorAnup Patel <Anup.Patel@wdc.com>2019-09-25 06:37:56 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-10 15:24:20 +0200
commitd52accce0aadd577ab12b59a71a450b3765f5db1 (patch)
tree2d615349e27324643925251a907fd660203cc8a1 /drivers/platform/goldfish
parent32a738704d7fc20fcece0e14e4e44ec68689746f (diff)
downloadlinux-d52accce0aadd577ab12b59a71a450b3765f5db1.tar.bz2
platform: goldfish: Allow goldfish drivers for archs with IOMEM and DMA
We don't need explicit dependency of Goldfish kconfig option on various architectures. Instead, the Goldfish kconfig option should only depend on HAS_IOMEM and HAS_DMA which is sufficient for all Goldfish devices. Signed-off-by: Anup Patel <anup.patel@wdc.com> Link: https://lore.kernel.org/r/20190925063706.56175-2-anup.patel@wdc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform/goldfish')
-rw-r--r--drivers/platform/goldfish/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/platform/goldfish/Kconfig b/drivers/platform/goldfish/Kconfig
index 77b35df3a801..f3d09b1631e3 100644
--- a/drivers/platform/goldfish/Kconfig
+++ b/drivers/platform/goldfish/Kconfig
@@ -1,8 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
menuconfig GOLDFISH
bool "Platform support for Goldfish virtual devices"
- depends on X86_32 || X86_64 || ARM || ARM64 || MIPS
- depends on HAS_IOMEM
+ depends on HAS_IOMEM && HAS_DMA
help
Say Y here to get to see options for the Goldfish virtual platform.
This option alone does not add any kernel code.