[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191023134956.GK11048@pi3>
Date: Wed, 23 Oct 2019 15:49:56 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: Kukjin Kim <kgene@...nel.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Viresh Kumar <viresh.kumar@...aro.org>,
linux-samsung-soc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linus.walleij@...aro.org,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: Re: [PATCH 33/36] ARM: s3c: move low-level clk reg access into
platform code
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 <arnd@...db.de>
> ---
> 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
Powered by blists - more mailing lists