From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6C59CA9EB6 for ; Wed, 23 Oct 2019 13:50:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8035520663 for ; Wed, 23 Oct 2019 13:50:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="l3VgYE8W" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8035520663 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=p96kUibAXjfYrH2+XCHQKhPtFN2+Ljco6b6yo8nN/V0=; b=l3VgYE8Wq99x6o CcfZ7bLo52k4KehnTSojOtSe1aKdMvywOBkF8BvxBRMbmB6a2hEyg0Mm9NvUnz2j9xCDrYnvE/g9f mpYn7eV5Bn3jEUUCUK149dQnedTsinowiYdnnNZUxTa80Kmr+5FfhA8Ulj34MHHA8cPJMfmZITw42 /2SmPy6WX4W54xEfTv+Ue8Y+Wu5+drmjbFQJZBD2PF83DX6hQSAkxjoaNkpBic06B341KoVzrYDs8 iJGmq4VOK4aHhpzAr8RdsSgdPDmFVbZTNX1Mcn98xiC78rpp8DAZFIN5nMbXPO/FPWnYg1iugDyRa XFqde73pDB5rWf2IM/MQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iNH1Z-0004YW-0q; Wed, 23 Oct 2019 13:50:05 +0000 Received: from mail-ed1-f65.google.com ([209.85.208.65]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iNH1V-0004EB-Cg for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2019 13:50:03 +0000 Received: by mail-ed1-f65.google.com with SMTP id l25so4565989edt.6 for ; Wed, 23 Oct 2019 06:50:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8qBb291IPE2og/l7u8OiTDfQtbzmiVhAHgv1m3GbkfM=; b=Uc/uow9NZSap4n8FOnOAbQKPaqoqgZYQMc2Dn1wdEEIr3UmiioowIiS2SYdwKek67F 4WOjiDZFB30dnRpGa/qhjP+NIc5Wa8CY1iBTWTlUEkbXfXE9MM3AN9VqSKP0Qj0iKj0l Huqi0olS8booM2r9ffaYb7wMNR+0VeIGX08PqwjlYfdxFYuHIZzz1k1BosK6ISZLyJK7 qQNYDsbJlhBFdfZAnaCMdVxjKtEtg2COPgPCltp0mGcDzAoExpPX+9m7jxbIuiaSasek U6F588Ws03BtBcM5kwvucICsU4BNMPbWpaedhezEqfVfbMXZjlLDjldFmYafIE7LoqhO C94g== X-Gm-Message-State: APjAAAU3KWYw0wm0QksDDYGiyCmqdwqShTHUYHbDo372jMF9plvJCfMD bXWHNe4bFHUCZOvyG15iPYM= X-Google-Smtp-Source: APXvYqwjWvPU2P28o+R/0H7qCyJXE4W8hZoo+hrDHIsqBv9q1Xi6Hyp0zb62g4wWhOXMSl17h7J2Hw== X-Received: by 2002:a50:ff19:: with SMTP id a25mr9916560edu.181.1571838599737; Wed, 23 Oct 2019 06:49:59 -0700 (PDT) Received: from pi3 ([194.230.155.217]) by smtp.googlemail.com with ESMTPSA id j43sm734313eda.19.2019.10.23.06.49.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 06:49:58 -0700 (PDT) Date: Wed, 23 Oct 2019 15:49:56 +0200 From: Krzysztof Kozlowski To: Arnd Bergmann Subject: Re: [PATCH 33/36] ARM: s3c: move low-level clk reg access into platform code Message-ID: <20191023134956.GK11048@pi3> References: <20191010202802.1132272-1-arnd@arndb.de> <20191010203043.1241612-1-arnd@arndb.de> <20191010203043.1241612-33-arnd@arndb.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191010203043.1241612-33-arnd@arndb.de> User-Agent: Mutt/1.12.1 (2019-06-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191023_065001_427932_A2422430 X-CRM114-Status: GOOD ( 14.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, linux-pm@vger.kernel.org, Viresh Kumar , linus.walleij@linaro.org, "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Kukjin Kim , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 10, 2019 at 10:30:17PM +0200, Arnd Bergmann wrote: > Rather than have the cpufreq drivers touch include the > common headers to get the constants, add a small indirection. > This is still not the proper way that would do this through > the common clk API, but it lets us kill off the header file > usage. > > Signed-off-by: Arnd Bergmann > --- > arch/arm/mach-s3c24xx/Makefile | 2 +- > arch/arm/mach-s3c24xx/cpufreq-utils.c | 32 ++++++++++++++++++++ > drivers/cpufreq/s3c2410-cpufreq.c | 8 +---- > drivers/cpufreq/s3c2412-cpufreq.c | 10 ++---- > drivers/cpufreq/s3c2440-cpufreq.c | 16 +++------- > drivers/cpufreq/s3c24xx-cpufreq.c | 11 ++----- > include/linux/soc/samsung/s3c-cpufreq-core.h | 7 +++++ > 7 files changed, 51 insertions(+), 35 deletions(-) > > diff --git a/arch/arm/mach-s3c24xx/Makefile b/arch/arm/mach-s3c24xx/Makefile > index 695573df00b1..195a4cb23ecb 100644 > --- a/arch/arm/mach-s3c24xx/Makefile > +++ b/arch/arm/mach-s3c24xx/Makefile > @@ -38,7 +38,7 @@ obj-$(CONFIG_PM_SLEEP) += irq-pm.o sleep.o > > # common code > > -obj-$(CONFIG_S3C2410_CPUFREQ_UTILS) += cpufreq-utils.o > +obj-$(CONFIG_ARM_S3C24XX_CPUFREQ) += cpufreq-utils.o Drop also here S3C2410_CPUFREQ_UTILS entirely. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel