Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1277815

Re: [PATCH 1/7] clk: mmp: stop using platform headers

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/7] clk: mmp: stop using platform headers
Date 2015-11-25 22:40 +0100
Message-ID <qyPXc-3kj-19@gated-at.bofh.it> (permalink)
References <qyKkO-87J-19@gated-at.bofh.it> <qyKkN-87J-17@gated-at.bofh.it> <qyNVo-22H-25@gated-at.bofh.it> <qyPNw-3gO-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/25, Arnd Bergmann wrote:
> On Wednesday 25 November 2015 11:21:14 Stephen Boyd wrote:
> > On 11/25, Arnd Bergmann wrote:
> > > diff --git a/drivers/clk/mmp/clk-mmp2.c b/drivers/clk/mmp/clk-mmp2.c
> > > index 09d2832fbd78..38931dbd1eff 100644
> > > --- a/drivers/clk/mmp/clk-mmp2.c
> > > +++ b/drivers/clk/mmp/clk-mmp2.c
> > > @@ -9,6 +9,7 @@
> > >   * warranty of any kind, whether express or implied.
> > >   */
> > >  
> > > +#include <linux/clk.h>
> > 
> > Why are we adding this include? I don't see any clk consumer API
> > usage being added.
> 
> drivers/clk/mmp/clk-pxa910.c: In function 'pxa910_clk_init':
> drivers/clk/mmp/clk-pxa910.c:166:2: error: implicit declaration of function 'clk_set_rate' [-Werror=implicit-function-declaration]
>   clk_set_rate(uart_pll, 14745600);
>   ^
> drivers/clk/mmp/clk-pxa910.c:209:2: error: implicit declaration of function 'clk_set_parent' [-Werror=implicit-function-declaration]
>   clk_set_parent(clk, uart_pll);
>   ^
> 
> Is there anything I need to change here?
> 

Hmph. I seems this broke when we removed the clk.h include from
clk-provider.h, but nobody has noticed for months. Can you make a
different commit to add the header? Otherwise we're sneaking in
that include to get this file to compile again.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/7] clk: mmp: stop using platform headers Arnd Bergmann <arnd@arndb.de> - 2015-11-25 16:40 +0100
  Re: [PATCH 1/7] clk: mmp: stop using platform headers Stephen Boyd <sboyd@codeaurora.org> - 2015-11-25 20:30 +0100
    Re: [PATCH 1/7] clk: mmp: stop using platform headers Arnd Bergmann <arnd@arndb.de> - 2015-11-25 22:30 +0100
      Re: [PATCH 1/7] clk: mmp: stop using platform headers Stephen Boyd <sboyd@codeaurora.org> - 2015-11-25 22:40 +0100
        Re: [PATCH 1/7] clk: mmp: stop using platform headers Arnd Bergmann <arnd@arndb.de> - 2015-11-25 23:00 +0100

csiph-web