error struct dwc2_hsotg has no member named core_params

drivers/usb/dwc2/hcd_queue.c: In function 'dwc2_hcd_qh_add': drivers/usb/dwc2/hcd_queue.c:1756:46: error: 'struct dwc2_hsotg' has no member named 'core_params'; did you mean 'hw_params'? if ((!hsotg->periodic_qh_count) && (!hsotg->core_params->dma_desc_enable)) { ^~~~~~~~~~~ hw_params-if ((!hsotg->periodic_qh_count) && (!hsotg->core_params->dma_desc_enable)) { +if ((!hsotg->periodic_qh_count) && (!hsotg->params.dma_desc_enable)) {

error CLK_IS_ROOT undeclared here (not in a function)

drivers/clk/ingenic/clk-t40.c:25:30: error: 'CLK_IS_ROOT' undeclared here (not in a function); did you mean 'IS_ROOT'? FRATE(CLK_EXT, "ext", NULL, CLK_IS_ROOT, 24000000), ^3c7f4f54578b983c964eb992229a7dd153ce5ee0 drivers/clk/ingenic/clk-t40.c @@ -17,17 +17,14 @@ #define CLK_FLG_ENABLE BIT(1) static struct ingenic_clk_provider *ctx; - /******************************************************************************* * FIXED CLK ********************************************************************************/ static struct ingenic_fixed_rate_clock t40_fixed_rate_ext_clks[] __initdata = { - FRATE(CLK_EXT, "ext", NULL, CLK_IS_ROOT, 24000000), - FRATE(CLK_RTC_EXT, "rtc_ext", NULL, CLK_IS_ROOT, 32768), + FRATE(CLK_EXT, "ext", NULL, 0, 24000000), + FRATE(CLK_RTC_EXT, "rtc_ext", NULL, 0, 32768),

error implicit declaration of function clk_readl

drivers/clk/ingenic/power-gate.c: In function 'power_gate_endisable': drivers/clk/ingenic/power-gate.c:92:2: error: implicit declaration of function 'clk_writel'; did you mean 'vfs_write'? [-Werror=implicit-function-declaration] clk_writel(reg, gate->reg); ^~~~~~~~~~ vfs_writecommit 5834fd75e6236605da8c439a64eaa33f3c8d02fe Author: Jonas Gorski <jonas.gorski@gmail.com> Date: Thu Apr 18 13:12:11 2019 +0200 clk: core: replace clk_{readl,writel} with {readl,writel} Now that clk_{readl,writel} is just an alias for {readl,writel}, we can switch all users of clk_* to use the accessors directly and remove the helpers. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> [sboyd@kernel.org: Also convert renesas file so that this can be compile independently] Signed-off-by: Stephen Boyd <sboyd@kernel.

error initialization from incompatible pointer type

drivers/clk/ingenic/clk-bus.c: In function 'clk_bus_divider_set_rate': drivers/clk/ingenic/clk-bus.c:71:36: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] struct clk_bus_divider *bus_div = to_clk_bus_divider(hw);drivers/clk/ingenic/clk-bus.c @@ -38,7 +38,7 @@ struct clk_bus_divider { spinlock_t * lock; }; -static inline struct clk_bus *to_clk_bus_divider(struct clk_hw *hw) +static inline struct clk_bus_divider *to_clk_bus_divider(struct clk_hw *hw)

error CLK_IS_BASIC undeclared

drivers/clk/ingenic/clk-bus.c:153:23: error: 'CLK_IS_BASIC' undeclared (first use in this function); did you mean 'CP0_IBASE'? init.flags = flags | CLK_IS_BASIC; ^~~~~~~~~~~~ CP0_IBASEcommit 90b6c5c73c6904ac200161fc38974d867f0535b0 Author: Stephen Boyd <sboyd@kernel.org> Date: Thu Apr 25 10:57:37 2019 -0700 clk: Remove CLK_IS_BASIC clk flag This flag was historically used to indicate that a clk is a "basic" type of clk like a mux, divider, gate, etc. This never turned out to be very useful though because it was hard to cleanly split "basic" clks from other clks in a system.

error data definition has no type or storage class

arch/mips/rtl819x/timer.c:409:1: error: data definition has no type or storage class [-Werror] 409 | module_init(bsp_watchdog_proc_init); | ^~~~~~~~~~~ arch/mips/rtl819x/timer.c:409:1: error: type defaults to ‘int’ in declaration of ‘module_init’ [-Werror=implicit-int] arch/mips/rtl819x/timer.c:409:1: error: parameter names (without types) in function declaration [-Werror]#include <linux/module.
0%