From patchwork Sun Dec 27 16:53:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 7923891 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: X-Original-To: patchwork-linux-pm@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 E34E5BEEE5 for ; Sun, 27 Dec 2015 16:54:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 223722026C for ; Sun, 27 Dec 2015 16:54:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 56ED32026D for ; Sun, 27 Dec 2015 16:54:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751524AbbL0QyW (ORCPT ); Sun, 27 Dec 2015 11:54:22 -0500 Received: from mail-pf0-f182.google.com ([209.85.192.182]:36073 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751129AbbL0QyV (ORCPT ); Sun, 27 Dec 2015 11:54:21 -0500 Received: by mail-pf0-f182.google.com with SMTP id 65so57154026pff.3 for ; Sun, 27 Dec 2015 08:54:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=UwMluu7dvB8QvmhJkUoycDpqEBymmWiRFJIRihEukP4=; b=nvwmOZ1Vfx4DLm3xyeKxy86EbNiPcWx6MOSwzHqMmmzU4gqO3aAIPsd/eKlh5c2Rts J8s2PS/hYgz/LoQFhW88moE4680oSNBclYlSsyhheRPtXcsNerMI1Wkmk4CV0bfSuUt+ ef3qB1hN/1abn8iP1fCnVeP9j2UXxL+5F4NDUeuHGjzuvZHOvj6PKZVehp493UmiCgSf NIJsif2IaQrO0gp9c19IoFRE2IuvuXcsMWSRpNqDiDV+W92h69HEdVl9OG/xBN69U/Xu V3PGd1t+5Yh5azhmYRsgToeMfbfysTXv51iIZYn0lZaSSbf5vhs/xRmI1cgMv4R7+KhG xUFw== X-Received: by 10.98.31.67 with SMTP id f64mr32138857pff.78.1451235261217; Sun, 27 Dec 2015 08:54:21 -0800 (PST) Received: from neo.home ([1.127.21.31]) by smtp.gmail.com with ESMTPSA id g10sm71189361pfj.15.2015.12.27.08.54.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Dec 2015 08:54:20 -0800 (PST) From: Peter Robinson To: Zhang Rui , Eduardo Valentin , linux-pm@vger.kernel.org Cc: Peter Robinson Subject: [PATCH] thermal: ensure SoC thermal drivers depend on associated SoC Date: Sun, 27 Dec 2015 16:53:55 +0000 Message-Id: <1451235235-31387-1-git-send-email-pbrobinson@gmail.com> X-Mailer: git-send-email 2.5.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@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, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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 The i.MX and QCom thermal drivers don't depend on their associated SoC, fix it so they depend on the SoC and COMPILE_TEST. Signed-off-by: Peter Robinson --- drivers/thermal/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 8cc4ac6..2d33f8d 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -185,6 +185,7 @@ config HISI_THERMAL config IMX_THERMAL tristate "Temperature sensor driver for Freescale i.MX SoCs" + depends on ARCH_MXC || COMPILE_TEST depends on CPU_THERMAL depends on MFD_SYSCON depends on OF @@ -382,6 +383,7 @@ endmenu config QCOM_SPMI_TEMP_ALARM tristate "Qualcomm SPMI PMIC Temperature Alarm" + depends on ARCH_QCOM || COMPILE_TEST depends on OF && SPMI && IIO select REGMAP_SPMI help