From: sachin.kamat@linaro.org (Sachin Kamat)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/6] clk: exynos4: Staticize local symbols
Date: Tue, 16 Jul 2013 14:38:05 +0530 [thread overview]
Message-ID: <CAK9yfHziYb8AyD+FK9_aDpcM1Pxmg2nr30NvvTHZ62JiYKq9kg@mail.gmail.com> (raw)
In-Reply-To: <02d801ce81f6$e480fe80$ad82fb80$%kim@samsung.com>
On 16 July 2013 13:04, Kukjin Kim <kgene.kim@samsung.com> wrote:
> Sachin Kamat wrote:
>>
>> Symbols referenced only in this file are made static.
>>
>> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
>> ---
>> drivers/clk/samsung/clk-exynos4.c | 30 ++++++++++++++++--------------
>> 1 file changed, 16 insertions(+), 14 deletions(-)
>>
>> diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsung/clk-
>> exynos4.c
>> index 1bdb882..18eadc4 100644
>> --- a/drivers/clk/samsung/clk-exynos4.c
>> +++ b/drivers/clk/samsung/clk-exynos4.c
>
> [...]
>
>> @@ -975,7 +975,7 @@ static void __init
>> exynos4_clk_register_finpll(unsigned long xom)
>> * clock speed.
>> */
>> void __init exynos4_clk_register_fixed_ext(unsigned long xxti_f,
>> - unsigned long xusbxti_f)
>> + unsigned long xusbxti_f)
>
> Why?
Yes this is unrelated and should not have been there.
>
>> {
>> exynos4_fixed_rate_ext_clks[0].fixed_rate = xxti_f;
>> exynos4_fixed_rate_ext_clks[1].fixed_rate = xusbxti_f;
>> @@ -990,7 +990,9 @@ static __initdata struct of_device_id ext_clk_match[]
>> = {
>> };
>>
>> /* register exynos4 clocks */
>> -void __init exynos4_clk_init(struct device_node *np, enum exynos4_soc
>> exynos4_soc, void __iomem *reg_base, unsigned long xom)
>> +static void __init exynos4_clk_init(struct device_node *np,
>> + enum exynos4_soc exynos4_soc,
>> + void __iomem *reg_base, unsigned long
> xom)
>> {
>> struct clk *apll, *mpll, *epll, *vpll;
>>
>> --
>> 1.7.9.5
>
> And don't we need following?
This has been done (along with other cleanups) in the following patch:
http://www.spinics.net/lists/linux-samsung-soc/msg20284.html
>
> diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h
> index 3e156bc..3a34f1e 100644
> --- a/arch/arm/mach-exynos/common.h
> +++ b/arch/arm/mach-exynos/common.h
> @@ -26,7 +26,6 @@ void exynos5_restart(enum reboot_mode mode, const char
> *cmd);
> void exynos_init_late(void);
>
> /* ToDo: remove these after migrating legacy exynos4 platforms to dt */
> -void exynos4_clk_init(struct device_node *np, int is_exynos4210, void
> __iomem *reg_base, unsigned long xom);
> void exynos4_clk_register_fixed_ext(unsigned long, unsigned long);
>
> void exynos_firmware_init(void);
>
> - Kukjin
>
--
With warm regards,
Sachin
next prev parent reply other threads:[~2013-07-16 9:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-11 9:02 [PATCH 0/6] clk: exynos: Some fixes and cleanup Sachin Kamat
2013-07-11 9:02 ` [PATCH 1/6] clk: exynos4: Staticize local symbols Sachin Kamat
2013-07-16 7:34 ` Kukjin Kim
2013-07-16 9:08 ` Sachin Kamat [this message]
2013-07-11 9:02 ` [PATCH 2/6] clk: exynos4: Remove unused function Sachin Kamat
2013-07-16 7:30 ` Kukjin Kim
2013-07-16 9:08 ` Sachin Kamat
2013-07-11 9:02 ` [PATCH 3/6] clk: exynos5250: Staticize local symbols Sachin Kamat
2013-07-11 9:02 ` [PATCH 4/6] clk: exynos5420: " Sachin Kamat
2013-07-11 9:02 ` [PATCH 5/6] clk: exynos5440: " Sachin Kamat
2013-07-11 9:02 ` [PATCH 6/6] clk: exynos-audss: Staticize exynos_audss_clk_init Sachin Kamat
2013-07-16 7:36 ` [PATCH 0/6] clk: exynos: Some fixes and cleanup Kukjin Kim
-- strict thread matches above, loose matches on Subject: below --
2013-07-18 10:01 [PATCH v2 " Sachin Kamat
2013-07-18 10:01 ` [PATCH 1/6] clk: exynos4: Staticize local symbols Sachin Kamat
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAK9yfHziYb8AyD+FK9_aDpcM1Pxmg2nr30NvvTHZ62JiYKq9kg@mail.gmail.com \
--to=sachin.kamat@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).