OSDN Git Service

ARM: OMAP2+: Set Kconfig dependencies for PROC_DEVICETREE
authorTony Lindgren <tony@atomide.com>
Thu, 23 Feb 2012 18:17:02 +0000 (10:17 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 23 Feb 2012 22:15:37 +0000 (14:15 -0800)
Otherwise we get:

warning: (ARCH_OMAP2PLUS) selects PROC_DEVICETREE which has
unmet direct dependencies (OF && PROC_FS && !SPARC)

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/Kconfig

index e289dd2..f419a08 100644 (file)
@@ -26,7 +26,7 @@ config ARCH_OMAP2PLUS
        select GENERIC_IRQ_CHIP
        select OMAP_DM_TIMER
        select USE_OF
-       select PROC_DEVICETREE
+       select PROC_DEVICETREE if PROC_FS
        help
          "Systems based on OMAP2, OMAP3 or OMAP4"