From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/5] clk: mb86s7x: Suppress build
Date: Wed, 28 Jun 2017 15:29:29 -0700 [thread overview]
Message-ID: <20170628222929.GC5316@codeaurora.org> (raw)
In-Reply-To: <CAJe_ZhdkfK1wB88hrMP=kmMNBfqxGtHDxseuyUXHToq77bzQ+g@mail.gmail.com>
On 06/28, Jassi Brar wrote:
> On 28 June 2017 at 21:43, Stephen Boyd <sboyd@codeaurora.org> wrote:
> > On 06/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
> >>
> >> Comment it out in the Makefile for now.
> >>
> >
> > Why not delete the whole driver instead? It's been two years and
> > the driver has never compiled.
> >
> I won't complain. The interest of moving powers evaporated in the
> midst of upstreaming. Though some next platform is supposed to reuse
> the IPs, but I can't say when will that be upstreamed and by whom.
>
Thanks for the info.
Andreas, can you send a deletion patch instead?
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2017-06-28 22:29 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-25 17:00 [PATCH 0/5] ARM: Socionext MB86S71 and Fujitsu F-Cue enablement Andreas Färber
2017-06-25 17:00 ` [PATCH 1/5] clk: mb86s7x: Suppress build Andreas Färber
2017-06-28 16:13 ` Stephen Boyd
2017-06-28 17:32 ` Jassi Brar
2017-06-28 22:29 ` Stephen Boyd [this message]
2017-06-29 11:17 ` Andreas Färber
2017-06-25 17:00 ` [PATCH 2/5] ARM: Prepare Socionext MB86S71 Andreas Färber
2017-06-25 17:00 ` [PATCH 3/5] dt-bindings: arm: Document Socionext MB86S71 and Fujitsu F-Cue Andreas Färber
2017-06-28 16:46 ` Rob Herring
2017-06-29 12:18 ` Masahiro Yamada
2017-06-29 12:53 ` Andreas Färber
2017-06-29 17:18 ` Masahiro Yamada
2017-11-04 13:44 ` Andreas Färber
2017-11-04 14:57 ` Ard Biesheuvel
2017-11-04 15:30 ` Andreas Färber
2017-11-04 15:39 ` Ard Biesheuvel
2017-11-04 20:06 ` Andreas Färber
2017-11-04 20:39 ` Ard Biesheuvel
2017-11-06 6:58 ` Andreas Färber
2017-11-06 8:05 ` Yang Zhang
2017-11-06 11:28 ` Ard Biesheuvel
2017-11-13 15:40 ` Andreas Färber
2017-11-13 15:55 ` Ard Biesheuvel
2017-06-25 17:00 ` [PATCH 4/5] ARM: dts: Add " Andreas Färber
2017-06-25 17:00 ` [PATCH 5/5] ARM: dts: mb86s71-f-cue: Add fake UART0 clock Andreas Färber
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=20170628222929.GC5316@codeaurora.org \
--to=sboyd@codeaurora.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).