[PATCH 06/26] x86 STA2X11: select devicetree related config items.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




This patch selects some config items needed for adding device tree support
to STA2X11 based machines. In particular:

* OF_DYNAMIC is needed to use of_detach_node() and avoid instantiating
  the same node twice.

* IRQ_DOMAIN is needed because irq_of_parse_and_map() needs
  irq_create_of_mapping(), which is part of the irqdomain stuff.

Signed-off-by: Davide Ciminaghi <ciminaghi@xxxxxxxxx>
Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@xxxxxx>
---
 arch/x86/Kconfig |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 490b001..0a779eb 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -555,6 +555,10 @@ config STA2X11
 	select MFD_STA2X11
 	select ARCH_REQUIRE_GPIOLIB
 	select ARM_AMBA
+	select OF
+	select OF_EARLY_FLATTREE
+	select OF_DYNAMIC
+	select IRQ_DOMAIN
 	default n
 	---help---
 	  This adds support for boards based on the STA2X11 IO-Hub,
-- 
1.7.7.2
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux