Skip to content

Commit

Permalink
media: tuner-types: add kernel-doc markups for struct tunertype
Browse files Browse the repository at this point in the history
This struct is lacking documentation. Add it.

Acked-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
mchehab committed Dec 18, 2017
1 parent 0bd9298 commit 8030e77
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions include/media/tuner-types.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,21 @@ struct tuner_params {
struct tuner_range *ranges;
};

/**
* struct tunertype - describes the known tuners.
*
* @name: string with the tuner's name.
* @count: size of &struct tuner_params array.
* @params: pointer to &struct tuner_params array.
*
* @min: minimal tuner frequency, in 62.5 kHz step.
* should be multiplied to 16 to convert to MHz.
* @max: minimal tuner frequency, in 62.5 kHz step.
* Should be multiplied to 16 to convert to MHz.
* @stepsize: frequency step, in Hz.
* @initdata: optional byte sequence to initialize the tuner.
* @sleepdata: optional byte sequence to power down the tuner.
*/
struct tunertype {
char *name;
unsigned int count;
Expand Down

0 comments on commit 8030e77

Please sign in to comment.