mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 14:11:20 +00:00
pwm: mediatek: Provide missing kerneldoc description for 'soc' arg
Kerneldoc syntax is used, but not complete. Descriptions are required for all arguments. Fixes the following W=1 build warning: drivers/pwm/pwm-mediatek.c:57: warning: Function parameter or member 'soc' not described in 'pwm_mediatek_chip' Cc: Matthias Brugger <matthias.bgg@gmail.com> Cc: John Crispin <blogic@openwrt.org> Cc: Zhi Mao <zhi.mao@mediatek.com> Cc: linux-pwm@vger.kernel.org Cc: linux-mediatek@lists.infradead.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
parent
75de72591a
commit
fc810e7c79
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ struct pwm_mediatek_of_data {
|
||||||
* @clk_main: the clock used by PWM core
|
* @clk_main: the clock used by PWM core
|
||||||
* @clk_pwms: the clock used by each PWM channel
|
* @clk_pwms: the clock used by each PWM channel
|
||||||
* @clk_freq: the fix clock frequency of legacy MIPS SoC
|
* @clk_freq: the fix clock frequency of legacy MIPS SoC
|
||||||
|
* @soc: pointer to chip's platform data
|
||||||
*/
|
*/
|
||||||
struct pwm_mediatek_chip {
|
struct pwm_mediatek_chip {
|
||||||
struct pwm_chip chip;
|
struct pwm_chip chip;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue