summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
Diffstat (limited to 'include/media')
-rw-r--r--include/media/lirc_dev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/lirc_dev.h b/include/media/lirc_dev.h
index 1bb9890744fa..d07a53232ffc 100644
--- a/include/media/lirc_dev.h
+++ b/include/media/lirc_dev.h
@@ -187,6 +187,9 @@ int lirc_register_driver(struct lirc_driver *d);
void lirc_unregister_driver(struct lirc_driver *d);
+/* Must be called in the open fop before lirc_get_pdata() can be used */
+void lirc_init_pdata(struct inode *inode, struct file *file);
+
/* Returns the private data stored in the lirc_driver
* associated with the given device file pointer.
*/