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: 5740631 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 18FCC9F399 for ; Thu, 29 Jan 2015 10:12:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 50F8020225 for ; Thu, 29 Jan 2015 10:12:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5791C20103 for ; Thu, 29 Jan 2015 10:12:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932803AbbA2KKT (ORCPT ); Thu, 29 Jan 2015 05:10:19 -0500 Received: from mail-oi0-f51.google.com ([209.85.218.51]:56689 "EHLO mail-oi0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932441AbbA2KKQ (ORCPT ); Thu, 29 Jan 2015 05:10:16 -0500 Received: by mail-oi0-f51.google.com with SMTP id x69so25135034oia.10 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=FfH9h1y6xCoY5A2qsfK3IvJt+knG8srJVhpAvgq8Z5seca6QL5LoRduJayeIdQDALI B0MwZAQWQ0DedMmnHAVLbbr5/xSf0cCCYzA4llwiWSf3gZUKIYlF4ROT6gHrCY9OjT52 t8BPRPa4zUYZSuqrh4bISHFjyeoEKsbDj414Btf/pOoQrRnyJ0aslnmhbadQ0M0Y0Etn dzXmaKjysKQMbjBeQEB4vjBhe1aAWziPzJz0LnqesdKx4+A4e29a+s6wcWPUlYRx60TI pf5RSPBAEOhEOiI9LbvBIS+CYjizjmXudKvBRZNR60hungOvULZHiZDuhmaQFTX6a4O6 GapQ== X-Gm-Message-State: ALoCoQli3YnHg6CzntMNhUotbujQ6dYYZBeSXxcN+CgfXdtI1/p013R5XpI+3Lm6H8Y0EdivZzkO 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 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: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 --- 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/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