From patchwork Sat May 31 11:50:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 31238 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f197.google.com (mail-ig0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8237720DE8 for ; Sat, 31 May 2014 11:51:41 +0000 (UTC) Received: by mail-ig0-f197.google.com with SMTP id hn18sf5864963igb.4 for ; Sat, 31 May 2014 04:51:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=BCO3PlIn+8kApwpc/ZtQB3r3ERX/vTv9gQbHGVepYWg=; b=N3VV0HFUh7qWXLcjpYRWtnYxrugpuTXCPsR/aUZdsDoFdnd/rngErvzP707bm69jLu U9hDiY3eJLpWLboevG4fBQQR+h1MYY1kwL4f8t1pctueISRKXtYgmHcswoBfBYSH+RKQ dLzUWaQXIiXKO52ZwRZICamGdHlVMSYqS2Vutgwg4ds7clh2ZPTcINL0QqufpfL6kO6x 7zvqGZW/cHZKQTVOEGF44LrmkqVVKFBNfHft5nTydE11Kgcdo2V5dL4eh8vN9Ry2+dra f5PRNKIpmP3AmmMVP1WIKhbP7w8NzHrZcpP/yG7iQJ+3shSuW75ly4q3MN7ArgEXgXKb Edvw== X-Gm-Message-State: ALoCoQncmEfydeg5f1Vro4L1fczJ9a3a88mgQM/CIm8Dfiw76LvaX32AMUgkV4uFzfPTDR3F6Nly X-Received: by 10.42.235.144 with SMTP id kg16mr7596960icb.33.1401537100299; Sat, 31 May 2014 04:51:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.47.82 with SMTP id l76ls1386490qga.61.gmail; Sat, 31 May 2014 04:51:40 -0700 (PDT) X-Received: by 10.220.92.193 with SMTP id s1mr821999vcm.34.1401537100179; Sat, 31 May 2014 04:51:40 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id wd10si5109608veb.55.2014.05.31.04.51.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 31 May 2014 04:51:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id hq11so1302224vcb.12 for ; Sat, 31 May 2014 04:51:40 -0700 (PDT) X-Received: by 10.220.98.143 with SMTP id q15mr115473vcn.38.1401537100065; Sat, 31 May 2014 04:51:40 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp178629vcb; Sat, 31 May 2014 04:51:39 -0700 (PDT) X-Received: by 10.68.231.196 with SMTP id ti4mr26658603pbc.48.1401537099208; Sat, 31 May 2014 04:51:39 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id as1si9265469pbc.116.2014.05.31.04.51.38; Sat, 31 May 2014 04:51:38 -0700 (PDT) Received-SPF: none (google.com: linux-pm-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754973AbaEaLvg (ORCPT + 13 others); Sat, 31 May 2014 07:51:36 -0400 Received: from afflict.kos.to ([92.243.29.197]:48436 "EHLO afflict.kos.to" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754558AbaEaLvg (ORCPT ); Sat, 31 May 2014 07:51:36 -0400 Received: from afflict.kos.to (afflict [92.243.29.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by afflict.kos.to (Postfix) with ESMTPSA id 916D726516; Sat, 31 May 2014 13:51:30 +0200 (CEST) From: Riku Voipio To: linux-pm@vger.kernel.org Cc: Riku Voipio , Sebastian Hesselbarth , Zhang Rui , Eduardo Valentin , linux-arm-kernel@lists.infradead.org Subject: [PATCH v2] thermal: allow building dove_thermal with mvebu Date: Sat, 31 May 2014 14:50:26 +0300 Message-Id: <1401537027-32291-1-git-send-email-riku.voipio@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1401452899-13952-1-git-send-email-riku.voipio@linaro.org> References: <1401452899-13952-1-git-send-email-riku.voipio@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: riku.voipio@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , DT-enabled Dove has moved from ARCH_DOVE in mach-dove to MACH_DOVE in mach-mvebu. As non-DT ARCH_DOVE will stay to rot for a while, add a new DT-only MACH_DOVE to thermal Kconfig. This was originally supposed to go in via "ARM: dove: prepare new Dove DT Kconfig" patch from Sebastian Hesselbarth for 3.15, but slipped through the cracks. I've tested on CuBox that without this patch you can't compile dove_thermal into a mach-mvebu based kernel, and with this patch I can build the driver and it works as expected run-time. v2: non-ascii char creeped in somehow Signed-off-by: Riku Voipio Cc: Sebastian Hesselbarth Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux-pm@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Acked-by: Sebastian Hesselbarth --- drivers/thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 2d51912..5783c72 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -151,7 +151,7 @@ config KIRKWOOD_THERMAL config DOVE_THERMAL tristate "Temperature sensor on Marvell Dove SoCs" - depends on ARCH_DOVE + depends on ARCH_DOVE || MACH_DOVE depends on OF help Support for the Dove thermal sensor driver in the Linux thermal