From patchwork Mon Sep 14 02:31: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: 7172471 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9FC08BEEC1 for ; Mon, 14 Sep 2015 02:35:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C7F1E20686 for ; Mon, 14 Sep 2015 02:35:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E96B22067D for ; Mon, 14 Sep 2015 02:35:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754162AbbINCcS (ORCPT ); Sun, 13 Sep 2015 22:32:18 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:35908 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754111AbbINCcI (ORCPT ); Sun, 13 Sep 2015 22:32:08 -0400 Received: by padhk3 with SMTP id hk3so128506427pad.3; Sun, 13 Sep 2015 19:32:07 -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:in-reply-to:references; bh=y7cgjw1bwS9D9IxmDK52yM8VEJk/LfNs4YVjCp/wZkg=; b=I2K3pmMplsiCN/ju+d2Uye+/t6JVxyPBg3wg0jDTSNx3JhJOy7DoLV5KWw+6T/eVou f8ggIk0XbNx/3EbsZx0HvtzLx2btjJNlmbD8ZBRg594OpyJRtuG0QEPufo3nUBj6nbb2 84Sygrzu4v0CcbEChQsb5YwjFcXBz0JM+f3CeRUyRe5iarKdgHZwUL8A6SWFr5KsyziO uxbDMyFgUjUppFYbsMaFjlXyXpE774rTj8W3XBfHx2hn6P8Xhf+MMJh6MKMkqNaTUuai pGfJ3IzgAXsuLTirW1YXUI+FcmS7sQsp6NhBbPDHX+GSH7RrXw1A29+4RrJcgbqF06d5 vGwQ== X-Received: by 10.66.162.66 with SMTP id xy2mr28997378pab.55.1442197927590; Sun, 13 Sep 2015 19:32:07 -0700 (PDT) Received: from localhost ([2601:647:4200:88bc:9dd3:9e70:2a6:3e9f]) by smtp.gmail.com with ESMTPSA id lg7sm12750145pbc.1.2015.09.13.19.32.06 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 13 Sep 2015 19:32:06 -0700 (PDT) From: Eduardo Valentin To: Rui Zhang Cc: LKML , Linux PM , Eduardo Valentin , linux-omap@vger.kernel.org Subject: [PATCHv2 10/10] thermal: ti-soc: Kconfig fix to avoid menu showing wrongly Date: Sun, 13 Sep 2015 19:31:39 -0700 Message-Id: <1442197899-5952-11-git-send-email-edubezval@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1442197899-5952-1-git-send-email-edubezval@gmail.com> References: <1442197899-5952-1-git-send-email-edubezval@gmail.com> 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(-) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 63b46c0..9453553 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