From patchwork Fri May 30 12:28:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 31179 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f70.google.com (mail-oa0-f70.google.com [209.85.219.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EF1E220671 for ; Fri, 30 May 2014 12:30:11 +0000 (UTC) Received: by mail-oa0-f70.google.com with SMTP id g18sf8544155oah.5 for ; Fri, 30 May 2014 05:30:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :mime-version:cc:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=jqPtxqyIojyjkXrd8mckn57bFpv1pX57+ZXtB64q6B0=; b=LLxA/J7doV+87RrmUmN0rQHITn9m8/HnqLnFWvc11ET7F55BKcx2/ggttJ54fNv/ts iv53Nl70RiT6dyMlYW9miHnQUt5DU7EgDXURAaBJfqpWdlmmERKndLJwQVLDZURr4ECm T1w8UJVp0/FKRd9mcS+abDe0aM0SGSzg2uV2NqJSUAeFbUMIPWmTB0RHuyhZ3IOUnqUV XenkHSUpM2Ay/z2xNRiG8zpQ6LhcCDHLyMRf2hFF6vphrWjByPwB7DlfrsOeoXPMWiXz fGUKNTK9c0YrN2P5LIz4agxL5iqB0A5GuhBgLlGIcn+hI8lScGMXPI2v1IoevC6gHPnB Q4nA== X-Gm-Message-State: ALoCoQk3No98OiYt4PYXAx0pPFD1j05eMcxfvr6b0EL40gBJODYUwX5nLpJpcNNlBItj14xE7dWr X-Received: by 10.50.18.20 with SMTP id s20mr1621360igd.3.1401453011461; Fri, 30 May 2014 05:30:11 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.93.131 with SMTP id d3ls1048461qge.52.gmail; Fri, 30 May 2014 05:30:11 -0700 (PDT) X-Received: by 10.53.13.133 with SMTP id ey5mr11288146vdd.8.1401453011267; Fri, 30 May 2014 05:30:11 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id ek8si2873315vdc.87.2014.05.30.05.30.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 30 May 2014 05:30:11 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id lc6so1984158vcb.2 for ; Fri, 30 May 2014 05:30:11 -0700 (PDT) X-Received: by 10.58.245.2 with SMTP id xk2mr13324685vec.9.1401453011108; Fri, 30 May 2014 05:30:11 -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 ib8csp108317vcb; Fri, 30 May 2014 05:30:10 -0700 (PDT) X-Received: by 10.140.108.163 with SMTP id j32mr19749694qgf.56.1401453010703; Fri, 30 May 2014 05:30:10 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id l44si5292225qgd.56.2014.05.30.05.30.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 May 2014 05:30:10 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WqLve-00011L-N8; Fri, 30 May 2014 12:28:58 +0000 Received: from afflict.kos.to ([92.243.29.197]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WqLva-0000lr-SX for linux-arm-kernel@lists.infradead.org; Fri, 30 May 2014 12:28:55 +0000 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 A19622650C; Fri, 30 May 2014 14:28:29 +0200 (CEST) From: Riku Voipio To: linux-pm@vger.kernel.org Subject: =?UTF-8?q?=5BPATCH=5D=20thermal=3A=20allow=20building=20dove=5Fthermal=20with=20mvebu?= Date: Fri, 30 May 2014 15:28:19 +0300 Message-Id: <1401452899-13952-1-git-send-email-riku.voipio@linaro.org> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140530_052855_099496_08624660 X-CRM114-Status: GOOD ( 11.09 ) X-Spam-Score: 1.0 (+) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (1.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) Cc: Eduardo Valentin , Riku Voipio , Zhang Rui , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.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.171 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 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. 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 --- 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