From patchwork Thu Sep 10 04:17:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Valentin X-Patchwork-Id: 7150711 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 34E439F39B for ; Thu, 10 Sep 2015 04:18:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 54E32209D8 for ; Thu, 10 Sep 2015 04:18:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7DA4B209A2 for ; Thu, 10 Sep 2015 04:17:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753885AbbIJERr (ORCPT ); Thu, 10 Sep 2015 00:17:47 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:34214 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750956AbbIJERn (ORCPT ); Thu, 10 Sep 2015 00:17:43 -0400 Received: by padhy16 with SMTP id hy16so30349188pad.1; Wed, 09 Sep 2015 21:17:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=wBVqBGWo/3SMCl6TMFl35OBh6AiEJRBFq+Vtbqs6kEQ=; b=Duyfvo6biT0itE9se8D2s0HdYEQDzx2zvjckVQpXq0E2wfi5Ohe3gTV2tWKLuVahkA 5f/BVElMQa+IGgsdMH9r8AqLOHFubugoq0byD/C9WZ0uWZz7pIbHgFm5mIekoVaE39cI 4IRvWBrMZHk4Yy3V6v8RTRt9n5nizta2TistGX42vPAaB8tzRVvbk9U3kjD0fg9oAdf+ EnbkUwfcQX3tRp6ECk8+ZPftN7zhiL3rYWEsLwqcVi8Oj2pRiFyi6gY2bYNj6oxubmLN 88x+16htcaAecsKFrp76+sMFjps+vXPKKNO64tP36HNTw+iQSeeZ+1SCWMbJj1jaSIrk +tNw== X-Received: by 10.68.111.228 with SMTP id il4mr79416022pbb.44.1441858662533; Wed, 09 Sep 2015 21:17:42 -0700 (PDT) Received: from localhost ([2601:647:4200:88bc:399f:4884:79bb:71bb]) by smtp.gmail.com with ESMTPSA id qe3sm8991128pbc.73.2015.09.09.21.17.41 (version=TLS1_2 cipher=AES128-SHA256 bits=128/128); Wed, 09 Sep 2015 21:17:41 -0700 (PDT) From: Eduardo Valentin To: Rui Zhang Cc: Eduardo Valentin , linux-pm@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] thermal: ti-soc: Kconfig fix to avoid menu showing wrongly Date: Wed, 9 Sep 2015 21:17:39 -0700 Message-Id: <1441858659-7353-1-git-send-email-edubezval@gmail.com> X-Mailer: git-send-email 2.5.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Move the dependencies to menu, so we avoid showing it wrongly. Cc: Zhang Rui Cc: linux-pm@vger.kernel.org Cc: linux-omap@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Eduardo Valentin --- drivers/thermal/Kconfig | 1 + drivers/thermal/ti-soc-thermal/Kconfig | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) --- This depends on the compile test series. diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index a752bef..c5eb142 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -341,6 +341,7 @@ config ACPI_THERMAL_REL depends on ACPI menu "Texas Instruments thermal drivers" +depends on ARCH_HAS_BANDGAP || COMPILE_TEST source "drivers/thermal/ti-soc-thermal/Kconfig" endmenu diff --git a/drivers/thermal/ti-soc-thermal/Kconfig b/drivers/thermal/ti-soc-thermal/Kconfig index 7a24018..cb6686f 100644 --- a/drivers/thermal/ti-soc-thermal/Kconfig +++ b/drivers/thermal/ti-soc-thermal/Kconfig @@ -1,7 +1,5 @@ config TI_SOC_THERMAL tristate "Texas Instruments SoCs temperature sensor driver" - depends on THERMAL - depends on ARCH_HAS_BANDGAP || COMPILE_TEST help If you say yes here you get support for the Texas Instruments OMAP4460+ on die bandgap temperature sensor support. The register