From: "Andreas Färber" <afaerber@suse.de>
To: Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-arm-kernel@lists.infradead.org,
Michael Turquette <mturquette@baylibre.com>,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
Satoru OKAMOTO <okamoto.satoru@socionext.com>,
Olof Johansson <olof@lixom.net>, Arnd Bergmann <arnd@arndb.de>
Subject: Re: [PATCH v2] clk: mb86s7x: Drop non-building driver
Date: Mon, 4 Sep 2017 17:46:18 +0200 [thread overview]
Message-ID: <8601a2ec-33dc-0024-55ce-963f05faca75@suse.de> (raw)
In-Reply-To: <20170901203201.GB21656@codeaurora.org>
Hi Stephen,
Am 01.09.2017 um 22:32 schrieb Stephen Boyd:
> On 08/25, Andreas Färber wrote:
>> It fails to build once we introduce the ARCH_MB86S7X Kconfig symbol:
>>
>> drivers/clk/clk-mb86s7x.c:27:10: fatal error: soc/mb86s7x/scb_mhu.h: No such file or directory
>> #include <soc/mb86s7x/scb_mhu.h>
>> ^~~~~~~~~~~~~~~~~~~~~~~
>> compilation terminated.
>>
>> And when commenting out that line, we get:
>>
>> drivers/clk/clk-mb86s7x.c: In function 'crg_gate_control':
>> drivers/clk/clk-mb86s7x.c:72:8: error: implicit declaration of function 'mb86s7x_send_packet' [-Werror=implicit-function-declaration]
>> ret = mb86s7x_send_packet(CMD_PERI_CLOCK_GATE_SET_REQ,
>> ^~~~~~~~~~~~~~~~~~~
>> drivers/clk/clk-mb86s7x.c:72:28: error: 'CMD_PERI_CLOCK_GATE_SET_REQ' undeclared (first use in this function)
>> ret = mb86s7x_send_packet(CMD_PERI_CLOCK_GATE_SET_REQ,
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/clk/clk-mb86s7x.c:72:28: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/clk/clk-mb86s7x.c: In function 'crg_rate_control':
>> drivers/clk/clk-mb86s7x.c:116:10: error: 'CMD_PERI_CLOCK_RATE_SET_REQ' undeclared (first use in this function)
>> code = CMD_PERI_CLOCK_RATE_SET_REQ;
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/clk/clk-mb86s7x.c:121:10: error: 'CMD_PERI_CLOCK_RATE_GET_REQ' undeclared (first use in this function); did you mean 'CMD_PERI_CLOCK_RATE_SET_REQ'?
>> code = CMD_PERI_CLOCK_RATE_GET_REQ;
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> CMD_PERI_CLOCK_RATE_SET_REQ
>> drivers/clk/clk-mb86s7x.c: In function 'mhu_cluster_rate':
>> drivers/clk/clk-mb86s7x.c:276:10: error: 'CMD_CPU_CLOCK_RATE_GET_REQ' undeclared (first use in this function)
>> code = CMD_CPU_CLOCK_RATE_GET_REQ;
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/clk/clk-mb86s7x.c:278:10: error: 'CMD_CPU_CLOCK_RATE_SET_REQ' undeclared (first use in this function); did you mean 'CMD_CPU_CLOCK_RATE_GET_REQ'?
>> code = CMD_CPU_CLOCK_RATE_SET_REQ;
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> CMD_CPU_CLOCK_RATE_GET_REQ
>> cc1: some warnings being treated as errors
>> scripts/Makefile.build:302: recipe for target
>> 'drivers/clk/clk-mb86s7x.o' failed
>> make[2]: *** [drivers/clk/clk-mb86s7x.o] Error 1
>>
>> Remove the driver for now.
>>
>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>> ---
>
> Applied to clk-next
Thanks. Is this 4.14 or 4.15 material at this point? In particular I
wonder which release I can proceed to introduce ARCH_MB86S7X in - I'm
assuming we need to wait for this one to get merged, so 4.15 or 4.16
respectively?
Regards,
Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
next prev parent reply other threads:[~2017-09-04 15:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-24 22:52 Andreas Färber
2017-09-01 20:32 ` Stephen Boyd
2017-09-04 15:46 ` Andreas Färber [this message]
2017-09-05 18:46 ` Stephen Boyd
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=8601a2ec-33dc-0024-55ce-963f05faca75@suse.de \
--to=afaerber@suse.de \
--cc=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=okamoto.satoru@socionext.com \
--cc=olof@lixom.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®