From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Date: Sat, 01 Mar 2014 17:33:33 +0000 Subject: Re: [PATCH v3 01/20] clk: shmobile: r8a7779: Add clocks support Message-Id: List-Id: References: <1393400016-23433-1-git-send-email-horms+renesas@verge.net.au> <1393400016-23433-2-git-send-email-horms+renesas@verge.net.au> <20140301135002.GA4307@katana> In-Reply-To: <20140301135002.GA4307@katana> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org On Sat, Mar 1, 2014 at 2:50 PM, Wolfram Sang wrote: >> --- a/include/linux/clk/shmobile.h >> +++ b/include/linux/clk/shmobile.h >> @@ -1,7 +1,9 @@ >> /* >> * Copyright 2013 Ideas On Board SPRL >> + * Copyright 2013 Horms Solutions Ltd. >> * >> * Contact: Laurent Pinchart >> + * Contact: Simon Horman >> * >> * This program is free software; you can redistribute it and/or modify >> * it under the terms of the GNU General Public License as published by >> @@ -14,6 +16,7 @@ >> >> #include >> >> +void r8a7779_clocks_init(u32 mode); >> void rcar_gen2_clocks_init(u32 mode); > > Shouldn't the init functions be protected by #ifdef CONFIG_ARCH...? Not in header files. 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