From: Shawn Guo <shawnguo@kernel.org>
To: Alexander Stein <alexander.stein@systec-electronic.com>
Cc: Sascha Hauer <kernel@pengutronix.de>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@codeaurora.org>,
linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org
Subject: Re: [PATCH v2 2/2] ARM: imx31: Do not call mxc_timer_init twice when booting with DT
Date: Tue, 22 Sep 2015 17:53:00 -0700 [thread overview]
Message-ID: <20150923005300.GD3529@tiger> (raw)
In-Reply-To: <1441791315-25390-2-git-send-email-alexander.stein@systec-electronic.com>
On Wed, Sep 09, 2015 at 11:35:15AM +0200, Alexander Stein wrote:
> mxc_timer_init must not be called from within mx31_clocks_init_dt. It will
> eventually be called by imx31_timer_init_dt
> (drivers/clocksource/timer-imx-gpt.c).
> This arranges the initialization code similar to clk-imx27.c
>
> Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
> ---
> * Added in v2
> * Compile tested only due to lack of hardware
Compile tested? I see the following compile issues.
CC drivers/clk/imx/clk-imx31.o
drivers/clk/imx/clk-imx31.c: In function ‘mx31_clocks_init’:
drivers/clk/imx/clk-imx31.c:152:2: error: too few arguments to function ‘_mx31_clocks_init’
drivers/clk/imx/clk-imx31.c:65:20: note: declared here
drivers/clk/imx/clk-imx31.c: In function ‘mx31_clocks_init_dt’:
drivers/clk/imx/clk-imx31.c:226:2: error: void value not ignored as it ought to be
drivers/clk/imx/clk-imx31.c:227:1: warning: control reaches end of non-void function [-Wreturn-type]
Shawn
WARNING: multiple messages have this Message-ID (diff)
From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/2] ARM: imx31: Do not call mxc_timer_init twice when booting with DT
Date: Tue, 22 Sep 2015 17:53:00 -0700 [thread overview]
Message-ID: <20150923005300.GD3529@tiger> (raw)
In-Reply-To: <1441791315-25390-2-git-send-email-alexander.stein@systec-electronic.com>
On Wed, Sep 09, 2015 at 11:35:15AM +0200, Alexander Stein wrote:
> mxc_timer_init must not be called from within mx31_clocks_init_dt. It will
> eventually be called by imx31_timer_init_dt
> (drivers/clocksource/timer-imx-gpt.c).
> This arranges the initialization code similar to clk-imx27.c
>
> Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
> ---
> * Added in v2
> * Compile tested only due to lack of hardware
Compile tested? I see the following compile issues.
CC drivers/clk/imx/clk-imx31.o
drivers/clk/imx/clk-imx31.c: In function ?mx31_clocks_init?:
drivers/clk/imx/clk-imx31.c:152:2: error: too few arguments to function ?_mx31_clocks_init?
drivers/clk/imx/clk-imx31.c:65:20: note: declared here
drivers/clk/imx/clk-imx31.c: In function ?mx31_clocks_init_dt?:
drivers/clk/imx/clk-imx31.c:226:2: error: void value not ignored as it ought to be
drivers/clk/imx/clk-imx31.c:227:1: warning: control reaches end of non-void function [-Wreturn-type]
Shawn
next prev parent reply other threads:[~2015-09-23 0:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-09 9:35 [PATCH v2 1/2] ARM: imx35: Do not call mxc_timer_init twice when booting with DT Alexander Stein
2015-09-09 9:35 ` Alexander Stein
2015-09-09 9:35 ` [PATCH v2 2/2] ARM: imx31: " Alexander Stein
2015-09-09 9:35 ` Alexander Stein
2015-09-23 0:53 ` Shawn Guo [this message]
2015-09-23 0:53 ` Shawn Guo
2015-09-23 0:58 ` [PATCH v2 1/2] ARM: imx35: " Shawn Guo
2015-09-23 0:58 ` Shawn Guo
2015-09-23 1:06 ` Shawn Guo
2015-09-23 1:06 ` Shawn Guo
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=20150923005300.GD3529@tiger \
--to=shawnguo@kernel.org \
--cc=alexander.stein@systec-electronic.com \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=sboyd@codeaurora.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.