[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+Ln22E_VkAYz7cpE1TdVGj6AkjWOgyVm01gzSjMPs=JE8+qLw@mail.gmail.com>
Date: Wed, 29 Jul 2020 19:39:47 +0200
From: Tomasz Figa <tomasz.figa@...il.com>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: Russell King <linux@...linux.org.uk>,
Kukjin Kim <kgene@...nel.org>,
Vincent Sanders <vince@...tec.co.uk>,
Simtec Linux Team <linux@...tec.co.uk>,
Kyungmin Park <kyungmin.park@...sung.com>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>,
Arnd Bergmann <arnd@...db.de>,
Linus Walleij <linus.walleij@...aro.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
"moderated list:SAMSUNG SOC CLOCK DRIVERS"
<linux-samsung-soc@...r.kernel.org>,
linux-stm32@...md-mailman.stormreply.com,
patches@...nsource.cirrus.com,
"open list:COMMON CLK FRAMEWORK" <linux-clk@...r.kernel.org>,
linux-watchdog@...r.kernel.org,
Sergio Prado <sergio.prado@...abworks.com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Sylwester Nawrocki <snawrocki@...nel.org>,
Cedric Roux <sed@...e.fr>, Lihua Yao <ylhuajnu@...look.com>
Subject: Re: [PATCH 1/7] clk: samsung: s3c64xx: Declare s3c64xx_clk_init() in
shared header
2020年7月29日(水) 18:11 Krzysztof Kozlowski <krzk@...nel.org>:
>
> The s3c64xx_clk_init() is defined and used by clk-s3c64xx driver and
> also used in mach-s3c64xx machine code. Move the declaration to a
> header to fix W=1 build warning:
>
> drivers/clk/samsung/clk-s3c64xx.c:391:13: warning: no previous prototype for 's3c64xx_clk_init' [-Wmissing-prototypes]
> 391 | void __init s3c64xx_clk_init(struct device_node *np, unsigned long xtal_f,
>
> Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org>
> ---
> MAINTAINERS | 1 +
> arch/arm/mach-s3c64xx/common.c | 1 +
> arch/arm/mach-s3c64xx/common.h | 2 --
> drivers/clk/samsung/clk-s3c64xx.c | 1 +
> include/linux/clk/samsung.h | 21 +++++++++++++++++++++
> 5 files changed, 24 insertions(+), 2 deletions(-)
> create mode 100644 include/linux/clk/samsung.h
>
Reviewed-by: Tomasz Figa <tomasz.figa@...il.com>
Best regards,
Tomasz
Powered by blists - more mailing lists