diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-11-29 09:26:20 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-11-30 04:18:59 -0500 |
commit | c5bb831854d7a710ca84cb9a120ac7b89b2f6d57 (patch) | |
tree | 3da702311f85bc052e9e539b44e3e309bfba9a26 | |
parent | b5a21f8a8555b03433f5b2aa65adfd996da469f5 (diff) |
media: tvp514x: fix kernel-doc parameters
There are some struct fields that aren't documented, and some
consts whose comments start with /**, but they aren't kernel-doc
annotations. So, fix it:
drivers/media/i2c/tvp514x.c:127: warning: No description found for parameter 'hdl'
drivers/media/i2c/tvp514x.c:127: warning: No description found for parameter 'pad'
drivers/media/i2c/tvp514x.c:127: warning: No description found for parameter 'format'
drivers/media/i2c/tvp514x.c:127: warning: No description found for parameter 'int_seq'
drivers/media/i2c/tvp514x.c:219: warning: cannot understand function prototype: 'const struct v4l2_fmtdesc tvp514x_fmt_list[] = '
drivers/media/i2c/tvp514x.c:235: warning: cannot understand function prototype: 'const struct tvp514x_std_info tvp514x_std_list[] = '
drivers/media/i2c/tvp514x.c:941: warning: No description found for parameter 'fmt'
drivers/media/i2c/tvp514x.c:941: warning: Excess function parameter 'format' description in 'tvp514x_set_pad_format'
drivers/media/i2c/tvp514x.c:1208: warning: cannot understand function prototype: 'const struct i2c_device_id tvp514x_id[] = '
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r-- | drivers/media/i2c/tvp514x.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/media/i2c/tvp514x.c b/drivers/media/i2c/tvp514x.c index ad2df998f9c5..d575b3e7e835 100644 --- a/drivers/media/i2c/tvp514x.c +++ b/drivers/media/i2c/tvp514x.c | |||
@@ -86,6 +86,7 @@ static int tvp514x_s_stream(struct v4l2_subdev *sd, int enable); | |||
86 | /** | 86 | /** |
87 | * struct tvp514x_decoder - TVP5146/47 decoder object | 87 | * struct tvp514x_decoder - TVP5146/47 decoder object |
88 | * @sd: Subdevice Slave handle | 88 | * @sd: Subdevice Slave handle |
89 | * @hdl: embedded &struct v4l2_ctrl_handler | ||
89 | * @tvp514x_regs: copy of hw's regs with preset values. | 90 | * @tvp514x_regs: copy of hw's regs with preset values. |
90 | * @pdata: Board specific | 91 | * @pdata: Board specific |
91 | * @ver: Chip version | 92 | * @ver: Chip version |
@@ -98,6 +99,9 @@ static int tvp514x_s_stream(struct v4l2_subdev *sd, int enable); | |||
98 | * @std_list: Standards list | 99 | * @std_list: Standards list |
99 | * @input: Input routing at chip level | 100 | * @input: Input routing at chip level |
100 | * @output: Output routing at chip level | 101 | * @output: Output routing at chip level |
102 | * @pad: subdev media pad associated with the decoder | ||
103 | * @format: media bus frame format | ||
104 | * @int_seq: driver's register init sequence | ||
101 | */ | 105 | */ |
102 | struct tvp514x_decoder { | 106 | struct tvp514x_decoder { |
103 | struct v4l2_subdev sd; | 107 | struct v4l2_subdev sd; |
@@ -211,7 +215,7 @@ static struct tvp514x_reg tvp514x_reg_list_default[] = { | |||
211 | {TOK_TERM, 0, 0}, | 215 | {TOK_TERM, 0, 0}, |
212 | }; | 216 | }; |
213 | 217 | ||
214 | /** | 218 | /* |
215 | * List of image formats supported by TVP5146/47 decoder | 219 | * List of image formats supported by TVP5146/47 decoder |
216 | * Currently we are using 8 bit mode only, but can be | 220 | * Currently we are using 8 bit mode only, but can be |
217 | * extended to 10/20 bit mode. | 221 | * extended to 10/20 bit mode. |
@@ -226,7 +230,7 @@ static const struct v4l2_fmtdesc tvp514x_fmt_list[] = { | |||
226 | }, | 230 | }, |
227 | }; | 231 | }; |
228 | 232 | ||
229 | /** | 233 | /* |
230 | * Supported standards - | 234 | * Supported standards - |
231 | * | 235 | * |
232 | * Currently supports two standards only, need to add support for rest of the | 236 | * Currently supports two standards only, need to add support for rest of the |
@@ -931,7 +935,7 @@ static int tvp514x_get_pad_format(struct v4l2_subdev *sd, | |||
931 | * tvp514x_set_pad_format() - V4L2 decoder interface handler for set pad format | 935 | * tvp514x_set_pad_format() - V4L2 decoder interface handler for set pad format |
932 | * @sd: pointer to standard V4L2 sub-device structure | 936 | * @sd: pointer to standard V4L2 sub-device structure |
933 | * @cfg: pad configuration | 937 | * @cfg: pad configuration |
934 | * @format: pointer to v4l2_subdev_format structure | 938 | * @fmt: pointer to v4l2_subdev_format structure |
935 | * | 939 | * |
936 | * Set pad format for the output pad | 940 | * Set pad format for the output pad |
937 | */ | 941 | */ |
@@ -1199,7 +1203,7 @@ static const struct tvp514x_reg tvp514xm_init_reg_seq[] = { | |||
1199 | {TOK_TERM, 0, 0}, | 1203 | {TOK_TERM, 0, 0}, |
1200 | }; | 1204 | }; |
1201 | 1205 | ||
1202 | /** | 1206 | /* |
1203 | * I2C Device Table - | 1207 | * I2C Device Table - |
1204 | * | 1208 | * |
1205 | * name - Name of the actual device/chip. | 1209 | * name - Name of the actual device/chip. |