From: Geert Uytterhoeven <geert@linux-m68k.org>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v6 1/2] clk: shmobile: r8a7779: Add clocks support
Date: Wed, 28 May 2014 08:42:05 +0000 [thread overview]
Message-ID: <CAMuHMdVgUXOvi-Msd6qWDBVS_Wfh_5F-F7DUUMD+hhan3ReXTQ@mail.gmail.com> (raw)
In-Reply-To: <20140528010850.GH7374@verge.net.au>
Hi Simon,
On Wed, May 28, 2014 at 3:08 AM, Simon Horman <horms@verge.net.au> wrote:
>> > +#include <dt-bindings/clock/r8a7779-clock.h>
>>
>> This currently causes a build error in Linux-next, since the header file
>> has not been merged along with the driver.
>
> Hi Arnd,
>
> I'm a little unsure what combination of Kernel config options you
> are using to compile this driver in linux-next but I do agree
> that the header is missing and that would cause the compile to fail.
> I apologise for that oversight.
>
> I believe that a good fix is to add the header, which I already have queued-up
> in the renesas tree for v3.17. I wonder if Mike would consider taking
> the following patch for v3.16. Alternatively I would be happy to send
> it it to arm-soc as a fix for v3.16.
IIUIC, the only reason the driver source needs the header file is:
#define CPG_NUM_CLOCKS (R8A7779_CLK_OUT + 1)
Why not
#define CPG_NUM_CLOCKS 8
and drop the include?
Or better, use "num_clks" (from of_property_count_strings(np,
"clock-output-names")), like the other R-Car drivers do.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next prev parent reply other threads:[~2014-05-28 8:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-17 23:05 [PATCH v6 0/2] clk: shmobile: r8a7779: Add clocks support Simon Horman
2014-04-17 23:05 ` [PATCH v6 1/2] " Simon Horman
2014-05-27 9:31 ` Arnd Bergmann
2014-05-28 1:08 ` Simon Horman
2014-05-28 1:32 ` Mike Turquette
2014-05-28 1:34 ` Simon Horman
2014-05-28 8:42 ` Geert Uytterhoeven [this message]
2014-05-28 8:50 ` Simon Horman
2014-04-17 23:05 ` [PATCH v6 2/2] clk: shmobile: r8a7779: Add MSTP clock support Simon Horman
2014-04-24 6:59 ` [PATCH v6 0/2] clk: shmobile: r8a7779: Add clocks support Simon Horman
2014-05-13 1:59 ` Simon Horman
[not found] ` <20140513061545.5943.33241@quantum>
2014-05-13 7:07 ` Simon Horman
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=CAMuHMdVgUXOvi-Msd6qWDBVS_Wfh_5F-F7DUUMD+hhan3ReXTQ@mail.gmail.com \
--to=geert@linux-m68k.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).