summaryrefslogtreecommitdiff
path: root/drivers/of/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/of/Kconfig')
-rw-r--r--drivers/of/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index ad9a9578f9c4..5020d7ef7494 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -13,7 +13,8 @@ if OF
config OF_UNITTEST
bool "Device Tree runtime unit tests"
- depends on OF_IRQ
+ depends on !SPARC
+ select IRQ_DOMAIN
select OF_EARLY_FLATTREE
select OF_RESOLVE
help
@@ -61,7 +62,7 @@ config OF_DYNAMIC
config OF_ADDRESS
def_bool y
- depends on !SPARC && HAS_IOMEM
+ depends on !SPARC && (HAS_IOMEM || UML)
select OF_ADDRESS_PCI if PCI
config OF_ADDRESS_PCI