summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/ix2505v.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2017-11-29 18:39:19 +0100
committerMauro Carvalho Chehab2017-11-30 10:19:04 +0100
commitb95b0c98f52883f9b907836f3421341af6f0145f (patch)
tree27e70fcd01749cbccd37dce9ec4cde456a0feb42 /drivers/media/dvb-frontends/ix2505v.h
parentmedia: drivers: remove "/**" from non-kernel-doc comments (diff)
downloadkernel-qcow2-linux-b95b0c98f52883f9b907836f3421341af6f0145f.tar.gz
kernel-qcow2-linux-b95b0c98f52883f9b907836f3421341af6f0145f.tar.xz
kernel-qcow2-linux-b95b0c98f52883f9b907836f3421341af6f0145f.zip
media: dvb_frontends: fix kernel-doc macros
Now, the Kernel checks for kernel_doc format issues. Weird enough, it didn't get any of those troubles. Shssst! Well, let's fix it, as a preventive way to avoid having hundreds of new warnings on some next Linux version. Tested by adding all files under dvb-frontends that have "/**" on them. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/ix2505v.h')
-rw-r--r--drivers/media/dvb-frontends/ix2505v.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/drivers/media/dvb-frontends/ix2505v.h b/drivers/media/dvb-frontends/ix2505v.h
index 0b0a431c74f6..31ca03a7b827 100644
--- a/drivers/media/dvb-frontends/ix2505v.h
+++ b/drivers/media/dvb-frontends/ix2505v.h
@@ -19,14 +19,6 @@
#include <linux/i2c.h>
#include "dvb_frontend.h"
-/**
- * Attach a ix2505v tuner to the supplied frontend structure.
- *
- * @param fe Frontend to attach to.
- * @param config ix2505v_config structure
- * @return FE pointer on success, NULL on failure.
- */
-
struct ix2505v_config {
u8 tuner_address;
@@ -45,6 +37,15 @@ struct ix2505v_config {
};
#if IS_REACHABLE(CONFIG_DVB_IX2505V)
+/**
+ * Attach a ix2505v tuner to the supplied frontend structure.
+ *
+ * @fe: Frontend to attach to.
+ * @config: pointer to &struct ix2505v_config
+ * @i2c: pointer to &struct i2c_adapter.
+ *
+ * return: FE pointer on success, NULL on failure.
+ */
extern struct dvb_frontend *ix2505v_attach(struct dvb_frontend *fe,
const struct ix2505v_config *config, struct i2c_adapter *i2c);
#else