Skip to content

Commit cecc589

Browse files
palosaarimchehab
authored andcommitted
[media] rtl2832_sdr: add kernel-doc comments for platform_data
Add kernel-doc comments for platform_data configuration structure. Signed-off-by: Antti Palosaari <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 2f74b7c commit cecc589

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

drivers/media/dvb-frontends/rtl2832_sdr.h

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,22 @@
2929
#include <media/v4l2-subdev.h>
3030
#include "dvb_frontend.h"
3131

32+
/**
33+
* struct rtl2832_sdr_platform_data - Platform data for the rtl2832_sdr driver
34+
* @clk: Clock frequency (4000000, 16000000, 25000000, 28800000).
35+
* @tuner: Used tuner model.
36+
* @i2c_client: rtl2832 demod driver I2C client.
37+
* @bulk_read: rtl2832 driver private I/O interface.
38+
* @bulk_write: rtl2832 driver private I/O interface.
39+
* @update_bits: rtl2832 driver private I/O interface.
40+
* @dvb_frontend: rtl2832 DVB frontend.
41+
* @v4l2_subdev: Tuner v4l2 controls.
42+
* @dvb_usb_device: DVB USB interface for USB streaming.
43+
*/
44+
3245
struct rtl2832_sdr_platform_data {
33-
/*
34-
* Clock frequency.
35-
* Hz
36-
* 4000000, 16000000, 25000000, 28800000
37-
*/
3846
u32 clk;
39-
4047
/*
41-
* Tuner.
4248
* XXX: This list must be kept sync with dvb_usb_rtl28xxu USB IF driver.
4349
*/
4450
#define RTL2832_SDR_TUNER_TUA9001 0x24

0 commit comments

Comments
 (0)