From mboxrd@z Thu Jan 1 00:00:00 1970 From: sboyd@codeaurora.org (Stephen Boyd) Date: Fri, 1 Sep 2017 13:32:01 -0700 Subject: [PATCH v2] clk: mb86s7x: Drop non-building driver In-Reply-To: <20170824225237.21485-1-afaerber@suse.de> References: <20170824225237.21485-1-afaerber@suse.de> Message-ID: <20170901203201.GB21656@codeaurora.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > ^~~~~~~~~~~~~~~~~~~~~~~ > 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 > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project