Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752668AbbDEO7n (ORCPT ); Sun, 5 Apr 2015 10:59:43 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:32851 "EHLO andre.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752050AbbDEO73 (ORCPT ); Sun, 5 Apr 2015 10:59:29 -0400 From: Geert Uytterhoeven To: Grant Likely , Rob Herring , Arnd Bergmann Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 1/3] of: Allow OF to be enabled if COMPILE_TEST to increase coverage Date: Sun, 5 Apr 2015 16:59:23 +0200 Message-Id: <1428245965-19618-2-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1428245965-19618-1-git-send-email-geert@linux-m68k.org> References: <1428245965-19618-1-git-send-email-geert@linux-m68k.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1224 Lines: 36 Currently the OF configuration symbol is explicitly selected on architectures that support device trees and/or Open Firmware. However, there's no technical reason to limit the device tree infrastructure to these architectures. Hence allow OF to be enabled when compile testing, to increase compile coverage. Signed-off-by: Geert Uytterhoeven --- drivers/of/Kconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index 7bcaeec876c0c3a5..4c98f14694458794 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig @@ -2,7 +2,11 @@ config DTC bool config OF - bool + bool "Device Tree and Open Firmware support" if COMPILE_TEST + help + This option enables the device tree infrastructure. + If is automatically selected by platforms that need it, but can + be enabled manually to increase compile-coverage. menu "Device Tree and Open Firmware support" depends on OF -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/