From patchwork Thu Jan 29 10:10:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 43902 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5FE602410D for ; Thu, 29 Jan 2015 10:11:48 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id u10sf17826106lbd.3 for ; Thu, 29 Jan 2015 02:11:47 -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:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :content-type:content-transfer-encoding:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list; bh=F+uAGGPF5bWsbO0ObzY9fPJ7DshFqP/WylzwkUHMBnc=; b=iwN/nCfMpkewBrDb/0MrRE3oMXfzrd09OoO/HR2SA9u0xKcM0oWgbQb/ohTB2ETA9z msXAz7PRkayg+CX/L/aTz54bmkSHy7VETbUTYV7ngrioM/1xmVnb4a5fly3kL+91I7v0 afH7SjjLzeAxnH+SUEj36vbNwbzpmJ8yR2pJa170Hj2L7aeUiIM7+z8mYbHAoX5tJxnB FNHgWCN7xt7UJKuVliFtZx1K/WC8KU/kTEnKCXMzrHEcel6N/j9FuOSX9imqibL4V5Rf ADSE2zDHUYkFLk6/spcsiadukDSSMUUgM9VXAr5GxWFi0YXPj6oU7steTppZmyhjgVAZ XzSQ== X-Gm-Message-State: ALoCoQl58J2AN1OQBMomn3m7/eoxeFfBRAYoTWo41qvUcwtvUxfPAua9lGeZUCV39cqTgw4j8SRn X-Received: by 10.112.175.10 with SMTP id bw10mr1652775lbc.7.1422526307344; Thu, 29 Jan 2015 02:11:47 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.185.69 with SMTP id fa5ls259259lac.84.gmail; Thu, 29 Jan 2015 02:11:47 -0800 (PST) X-Received: by 10.152.19.129 with SMTP id f1mr13319094lae.40.1422526307202; Thu, 29 Jan 2015 02:11:47 -0800 (PST) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com. [209.85.217.176]) by mx.google.com with ESMTPS id xw4si6895724lbb.105.2015.01.29.02.11.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 29 Jan 2015 02:11:47 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.176 as permitted sender) client-ip=209.85.217.176; Received: by mail-lb0-f176.google.com with SMTP id z12so26270925lbi.7 for ; Thu, 29 Jan 2015 02:11:47 -0800 (PST) X-Received: by 10.112.180.135 with SMTP id do7mr13081929lbc.23.1422526307115; Thu, 29 Jan 2015 02:11:47 -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 h5csp1712487lbj; Thu, 29 Jan 2015 02:11:46 -0800 (PST) X-Received: by 10.68.164.3 with SMTP id ym3mr347090pbb.100.1422526305285; Thu, 29 Jan 2015 02:11:45 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id vf8si9188274pbc.191.2015.01.29.02.11.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Jan 2015 02:11:45 -0800 (PST) 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 1YGm3d-0004LE-Dk; Thu, 29 Jan 2015 10:10:41 +0000 Received: from mail-oi0-f49.google.com ([209.85.218.49]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YGm3a-0004G9-Er for linux-arm-kernel@lists.infradead.org; Thu, 29 Jan 2015 10:10:39 +0000 Received: by mail-oi0-f49.google.com with SMTP id a3so25072910oib.8 for ; Thu, 29 Jan 2015 02:10:15 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.202.230.145 with SMTP id d139mr4928694oih.8.1422526215871; Thu, 29 Jan 2015 02:10:15 -0800 (PST) Received: by 10.182.33.34 with HTTP; Thu, 29 Jan 2015 02:10:15 -0800 (PST) In-Reply-To: <2157802.ranbh8xTdL@wuerfel> References: <1422451015-390439-1-git-send-email-arnd@arndb.de> <1799972.nQ2Axu0CEJ@wuerfel> <2157802.ranbh8xTdL@wuerfel> Date: Thu, 29 Jan 2015 15:40:15 +0530 Message-ID: Subject: Re: [PATCH 3/3] cpufreq: exynos: allow modular build From: Viresh Kumar To: Arnd Bergmann X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150129_021038_570981_905B8084 X-CRM114-Status: UNSURE ( 9.64 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.218.49 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.49 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: linux-samsung-soc , "linux-pm@vger.kernel.org" , "Rafael J. Wysocki" , Eduardo Valentin , Kukjin Kim , Zhang Rui , "linux-arm-kernel@lists.infradead.org" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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: 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.176 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 On 29 January 2015 at 15:31, Arnd Bergmann wrote: > That might be close enough to what we want. It would by default enable > ARM_EXYNOS_CPUFREQ for exynos based machines that do not use this driver > (e.g. 5440, which has a separate driver, or exynos3/exynos7), but that > can probably just be dealt with by disabling it in the user's defconfig. > If i'm reading exynos_cpufreq_probe right, it would actually compile > into an almost-empty file in this case and only kzalloc a few bytes > of memory and then print a warning message. I may be wrong this time around, but I will still try hard : obj-$(CONFIG_ARM_IMX6Q_CPUFREQ) += imx6q-cpufreq.o diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile index b3ca7b0b2c33..91747c411d86 100644 --- a/drivers/cpufreq/Makefile +++ b/drivers/cpufreq/Makefile @@ -51,10 +51,9 @@ obj-$(CONFIG_ARM_DT_BL_CPUFREQ) += arm_big_little_dt.o obj-$(CONFIG_ARCH_DAVINCI) += davinci-cpufreq.o obj-$(CONFIG_UX500_SOC_DB8500) += dbx500-cpufreq.o -obj-$(CONFIG_ARM_EXYNOS_CPUFREQ) += exynos-cpufreq.o -obj-$(CONFIG_ARM_EXYNOS4210_CPUFREQ) += exynos4210-cpufreq.o -obj-$(CONFIG_ARM_EXYNOS4X12_CPUFREQ) += exynos4x12-cpufreq.o -obj-$(CONFIG_ARM_EXYNOS5250_CPUFREQ) += exynos5250-cpufreq.o +obj-$(CONFIG_ARM_EXYNOS4210_CPUFREQ) += exynos-cpufreq.o exynos4210-cpufreq.o +obj-$(CONFIG_ARM_EXYNOS4X12_CPUFREQ) += exynos-cpufreq.o exynos4x12-cpufreq.o +obj-$(CONFIG_ARM_EXYNOS5250_CPUFREQ) += exynos-cpufreq.o exynos5250-cpufreq.o obj-$(CONFIG_ARM_EXYNOS5440_CPUFREQ) += exynos5440-cpufreq.o obj-$(CONFIG_ARM_HIGHBANK_CPUFREQ) += highbank-cpufreq.o