summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2015-02-02 18:35:48 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-03 19:31:01 +0100
commitcecc58962014995db02dbfa9778523177b14fd6e (patch)
tree2d9506d058eba3fda366c611c950f859f64766de /drivers/media
parent[media] rtl2832: add kernel-doc comments for platform_data (diff)
downloadlinux-cecc58962014995db02dbfa9778523177b14fd6e.tar.xz
linux-cecc58962014995db02dbfa9778523177b14fd6e.zip
[media] rtl2832_sdr: add kernel-doc comments for platform_data
Add kernel-doc comments for platform_data configuration structure. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb-frontends/rtl2832_sdr.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/drivers/media/dvb-frontends/rtl2832_sdr.h b/drivers/media/dvb-frontends/rtl2832_sdr.h
index dd22e421162b..d2594768bff2 100644
--- a/drivers/media/dvb-frontends/rtl2832_sdr.h
+++ b/drivers/media/dvb-frontends/rtl2832_sdr.h
@@ -29,16 +29,22 @@
#include <media/v4l2-subdev.h>
#include "dvb_frontend.h"
+/**
+ * struct rtl2832_sdr_platform_data - Platform data for the rtl2832_sdr driver
+ * @clk: Clock frequency (4000000, 16000000, 25000000, 28800000).
+ * @tuner: Used tuner model.
+ * @i2c_client: rtl2832 demod driver I2C client.
+ * @bulk_read: rtl2832 driver private I/O interface.
+ * @bulk_write: rtl2832 driver private I/O interface.
+ * @update_bits: rtl2832 driver private I/O interface.
+ * @dvb_frontend: rtl2832 DVB frontend.
+ * @v4l2_subdev: Tuner v4l2 controls.
+ * @dvb_usb_device: DVB USB interface for USB streaming.
+ */
+
struct rtl2832_sdr_platform_data {
- /*
- * Clock frequency.
- * Hz
- * 4000000, 16000000, 25000000, 28800000
- */
u32 clk;
-
/*
- * Tuner.
* XXX: This list must be kept sync with dvb_usb_rtl28xxu USB IF driver.
*/
#define RTL2832_SDR_TUNER_TUA9001 0x24