Message ID | b8cca2b414eeb2db19f297571dd4654a733a2417.1573046440.git.amit.kucheria@linaro.org |
---|---|
State | Accepted |
Commit | 5ca73af203951c60b328c7f394825b3fa0f6b0b8 |
Headers | show |
Series | None | expand |
On 06-11-19, 18:58, Amit Kucheria wrote: > Fix up the following warning when compiled with make W=1: > > linux.git/drivers/thermal/zx2967_thermal.c:57: warning: Function > parameter or member 'dev' not described in 'zx2967_thermal_priv' > > Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> > --- > drivers/thermal/zx2967_thermal.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/thermal/zx2967_thermal.c b/drivers/thermal/zx2967_thermal.c > index 7c8a82c8e1e92..8e3a2d3c2f9a3 100644 > --- a/drivers/thermal/zx2967_thermal.c > +++ b/drivers/thermal/zx2967_thermal.c > @@ -45,6 +45,7 @@ > * @clk_topcrm: topcrm clk structure > * @clk_apb: apb clk structure > * @regs: pointer to base address of the thermal sensor > + * @dev: struct device pointer > */ > > struct zx2967_thermal_priv { Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> -- viresh
diff --git a/drivers/thermal/zx2967_thermal.c b/drivers/thermal/zx2967_thermal.c index 7c8a82c8e1e92..8e3a2d3c2f9a3 100644 --- a/drivers/thermal/zx2967_thermal.c +++ b/drivers/thermal/zx2967_thermal.c @@ -45,6 +45,7 @@ * @clk_topcrm: topcrm clk structure * @clk_apb: apb clk structure * @regs: pointer to base address of the thermal sensor + * @dev: struct device pointer */ struct zx2967_thermal_priv {
Fix up the following warning when compiled with make W=1: linux.git/drivers/thermal/zx2967_thermal.c:57: warning: Function parameter or member 'dev' not described in 'zx2967_thermal_priv' Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> --- drivers/thermal/zx2967_thermal.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1