From patchwork Thu Jan 29 03:39:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 43897 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7EF982410D for ; Thu, 29 Jan 2015 03:39:13 +0000 (UTC) Received: by mail-lb0-f198.google.com with SMTP id l4sf14992214lbv.1 for ; Wed, 28 Jan 2015 19:39:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mime-version:in-reply-to:references :date:message-id:subject:from:to:cc:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=aFz6UT8YYbYDf0YinOAmDqKVJg+NHZCi+w2RzUqlprk=; b=V3NliMW5zsFWCAivtelmyqLamk1Y2Y8I63hKkfev/ThgpcfSlKp0ES7XpQMZa+ZEyc 6ba3adJS4wyJS3btyDFJEleCuT9HgMpWfT/0cpzj5KIRomU/2fD1HEwMDJ5Rs/0wF5ja 1Rtvh3kjfLohOZMJbDZB59vX5mc09zMiLZMVra4IdRAkhX6IwLvJf4rF89tyRts4Rjq4 n9Bz3tRBTOgxne36zALXpMqYKU/P/nF5Vo+HwEujAUIK7WThffRjd4b7ZitNg0X3XWDE itM7VTQ4CPOI0bs4vgWqZ9QjI+uL40raThOuDjpd1VxMhNwsHzgSmrrQi/nNzix6xaL4 6L5g== X-Gm-Message-State: ALoCoQm+a3AIQVkyfAwdl0Tp+/TjmraklJsR+UmxYFY1CXQPKlsRl2QZHcU193SGqBuxGJzcpJEK X-Received: by 10.152.87.15 with SMTP id t15mr1434260laz.9.1422502752128; Wed, 28 Jan 2015 19:39:12 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.115.230 with SMTP id jr6ls254877lab.69.gmail; Wed, 28 Jan 2015 19:39:11 -0800 (PST) X-Received: by 10.152.180.35 with SMTP id dl3mr12014143lac.24.1422502751857; Wed, 28 Jan 2015 19:39:11 -0800 (PST) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id w1si6183865laz.95.2015.01.28.19.39.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 28 Jan 2015 19:39:11 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by mail-lb0-f171.google.com with SMTP id u14so23720097lbd.2 for ; Wed, 28 Jan 2015 19:39:11 -0800 (PST) X-Received: by 10.112.164.101 with SMTP id yp5mr11857202lbb.82.1422502751399; Wed, 28 Jan 2015 19:39:11 -0800 (PST) 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.112.35.133 with SMTP id h5csp1635667lbj; Wed, 28 Jan 2015 19:39:10 -0800 (PST) X-Received: by 10.68.112.194 with SMTP id is2mr10754583pbb.161.1422502749733; Wed, 28 Jan 2015 19:39:09 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k2si8241566pdf.109.2015.01.28.19.39.08; Wed, 28 Jan 2015 19:39:09 -0800 (PST) Received-SPF: none (google.com: linux-samsung-soc-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 S1758241AbbA2DjF (ORCPT + 4 others); Wed, 28 Jan 2015 22:39:05 -0500 Received: from mail-oi0-f53.google.com ([209.85.218.53]:42341 "EHLO mail-oi0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758096AbbA2DjE (ORCPT ); Wed, 28 Jan 2015 22:39:04 -0500 Received: by mail-oi0-f53.google.com with SMTP id i138so22828551oig.12 for ; Wed, 28 Jan 2015 19:39:03 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.202.54.67 with SMTP id d64mr4040083oia.55.1422502743562; Wed, 28 Jan 2015 19:39:03 -0800 (PST) Received: by 10.182.33.34 with HTTP; Wed, 28 Jan 2015 19:39:03 -0800 (PST) In-Reply-To: <1799972.nQ2Axu0CEJ@wuerfel> References: <1422451015-390439-1-git-send-email-arnd@arndb.de> <1422451015-390439-4-git-send-email-arnd@arndb.de> <20150128172209.GF29600@developer.hsd1.ca.comcast.net> <1799972.nQ2Axu0CEJ@wuerfel> Date: Thu, 29 Jan 2015 09:09:03 +0530 Message-ID: Subject: Re: [PATCH 3/3] cpufreq: exynos: allow modular build From: Viresh Kumar To: Arnd Bergmann Cc: "linux-arm-kernel@lists.infradead.org" , Eduardo Valentin , linux-samsung-soc , "linux-pm@vger.kernel.org" , "Rafael J. Wysocki" , Kukjin Kim , Zhang Rui Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@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.217.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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , On 29 January 2015 at 01:31, Arnd Bergmann wrote: >> config ARM_EXYNOS_CPUFREQ >> - bool >> + tristate "SAMSUNG EXYNOS CPUfreq Driver" >> + depends on THERMAL >> + default y >> + help >> + This adds the CPUFreq driver for Samsung EXYNOS platforms >> + >> + If in doubt, say N. > > Now the option shows up on all systems that include Kconfig.arm, > in particular non-exynos machines that might not even be able > to build this. I am sure I am wrong here, but want to know what I am missing. What about: --- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index c3c3cf52d2d9..f3ee05067a69 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm @@ -27,7 +27,7 @@ config ARM_VEXPRESS_SPC_CPUFREQ config ARM_EXYNOS_CPUFREQ tristate "SAMSUNG EXYNOS CPUfreq Driver" - depends on THERMAL + depends on THERMAL && ARCH_EXYNOS default y help This adds the CPUFreq driver for Samsung EXYNOS platforms