summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/zd1301_demod.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2017-11-29 20:02:22 +0100
committerMauro Carvalho Chehab2017-11-30 10:19:05 +0100
commitbe9b53c83792e3898755dce90f8c632d40e7c83e (patch)
tree627ed2c0c7557f5a1da416b71d2c06883647d5ea /drivers/media/dvb-frontends/zd1301_demod.h
parentmedia: docs: add documentation for frontend attach info (diff)
downloadkernel-qcow2-linux-be9b53c83792e3898755dce90f8c632d40e7c83e.tar.gz
kernel-qcow2-linux-be9b53c83792e3898755dce90f8c632d40e7c83e.tar.xz
kernel-qcow2-linux-be9b53c83792e3898755dce90f8c632d40e7c83e.zip
media: dvb-frontends: complete kernel-doc markups
For the dvb-frontends that are now part of the documentation, complete the kernel-doc markups, in order for them to be properly used at the driver's kAPI documentation. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/zd1301_demod.h')
-rw-r--r--drivers/media/dvb-frontends/zd1301_demod.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/zd1301_demod.h b/drivers/media/dvb-frontends/zd1301_demod.h
index 9496f7e8b4dd..6cd8f6f9c415 100644
--- a/drivers/media/dvb-frontends/zd1301_demod.h
+++ b/drivers/media/dvb-frontends/zd1301_demod.h
@@ -52,6 +52,12 @@ struct i2c_adapter *zd1301_demod_get_i2c_adapter(struct platform_device *pdev);
#else
+/**
+ * zd1301_demod_get_dvb_frontend() - Attach a zd1301 frontend
+ * @dev: Pointer to platform device
+ *
+ * Return: Pointer to %struct dvb_frontend or NULL if attach fails.
+ */
static inline struct dvb_frontend *zd1301_demod_get_dvb_frontend(struct platform_device *dev)
{
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);