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: 5740651 Return-Path: X-Original-To: patchwork-linux-arm@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 6A484BF440 for ; Thu, 29 Jan 2015 10:12:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 41B262018E for ; Thu, 29 Jan 2015 10:12:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 229F7200CF for ; Thu, 29 Jan 2015 10:12:13 +0000 (UTC) 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=yfa9uGJSTNFrZiTgCJRQP8maXcS6HS8S1l3WfT5cqH8=; b=mOddXWmCvIc7DHY9IFx/hJNnaiSmSxyz7u5t3IPmIQvXAs6pqpvPzF6khbF8oJzpM/ /6HGJxTkUPHsWSGXAHN4WvnobNdKyp1JCbKwMc83pzboxd9kEvT0wfYRipPoRmkYvOQ1 t6g8u9W/pVGUp8JziqItf7JBMvB7inJ4kWHP1XSuKY6AFXXn96Nnekx00baclADHcnmc GYS7CTqJ33dX1OMmd31QvjYdpCIwb2nKREdTBqJIX4UL7PaNXQkvhigAMk1ef4dPhnxV HJvEnYteCQ5sjSSQvg9s/n3yysyRQdCJ+P3sq6GEB3DTlxez4IgRHTKnPFURAyj4vl7c oXMg== X-Gm-Message-State: ALoCoQm9tFn4pPBDBIasEFsTsy37kMJle4Dw7vTguqtjrgYnwTwGwIqcy973NQo/rXGhPLKWjlOJ 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 (/) 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, 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 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