summaryrefslogtreecommitdiffstats
path: root/include/media/rc-map.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-17 14:16:57 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-17 19:02:43 +0200
commit5b6137dc84f627e8497e554890ae02378c54f9f0 (patch)
treeac87e70872915bdcaa7cb721195baf4406b10753 /include/media/rc-map.h
parent[media] doc-rst: split media_drivers.rst into one file per API type (diff)
downloadlinux-5b6137dc84f627e8497e554890ae02378c54f9f0.tar.xz
linux-5b6137dc84f627e8497e554890ae02378c54f9f0.zip
[media] doc-rst: Fix issues with RC documentation
The kernel-doc script is now broken if it doesn't find all exported symbols documented. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media/rc-map.h')
-rw-r--r--include/media/rc-map.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/include/media/rc-map.h b/include/media/rc-map.h
index 6e6557dbeb9f..726bd9374fd2 100644
--- a/include/media/rc-map.h
+++ b/include/media/rc-map.h
@@ -98,10 +98,25 @@ struct rc_map_list {
/* Routines from rc-map.c */
+/**
+ * rc_map_register() - Registers a Remote Controler scancode map
+ *
+ * @map: pointer to struct rc_map_list
+ */
int rc_map_register(struct rc_map_list *map);
+
+/**
+ * rc_map_unregister() - Unregisters a Remote Controler scancode map
+ *
+ * @map: pointer to struct rc_map_list
+ */
void rc_map_unregister(struct rc_map_list *map);
+
+/**
+ * rc_map_get - gets an RC map from its name
+ * @name: name of the RC scancode map
+ */
struct rc_map *rc_map_get(const char *name);
-void rc_map_init(void);
/* Names of the several keytables defined in-kernel */