Commit d52accce authored by Anup Patel's avatar Anup Patel Committed by Greg Kroah-Hartman

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: default avatarAnup Patel <anup.patel@wdc.com>
Link: https://lore.kernel.org/r/20190925063706.56175-2-anup.patel@wdc.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 32a73870
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
menuconfig GOLDFISH menuconfig GOLDFISH
bool "Platform support for Goldfish virtual devices" bool "Platform support for Goldfish virtual devices"
depends on X86_32 || X86_64 || ARM || ARM64 || MIPS depends on HAS_IOMEM && HAS_DMA
depends on HAS_IOMEM
help help
Say Y here to get to see options for the Goldfish virtual platform. Say Y here to get to see options for the Goldfish virtual platform.
This option alone does not add any kernel code. This option alone does not add any kernel code.
......
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