path: root/include/media/rc-core.h
diff options
authorDavid Härdeman <david@hardeman.nu>2014-04-04 19:06:06 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-04-06 11:30:29 -0300
commit99b0f3c96cebf3af9a645d9b00db14cb04fcdfa2 (patch)
treec4e71886d446d1f32c57b7bddaba3451fe585b0b /include/media/rc-core.h
parent23c843b5eb11198e7de3a2af0756d1f897117932 (diff)
[media] rc-core: remove generic scancode filter
The generic scancode filtering has questionable value and makes it impossible to determine from userspace if there is an actual scancode hw filter present or not. So revert the generic parts. Based on a patch from James Hogan <james.hogan@imgtec.com>, but this version also makes sure that only the valid sysfs files are created in the first place. Signed-off-by: David Härdeman <david@hardeman.nu> Acked-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media/rc-core.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/rc-core.h b/include/media/rc-core.h
index 6dbc7c11224f..fde142e5f25a 100644
--- a/include/media/rc-core.h
+++ b/include/media/rc-core.h
@@ -60,6 +60,7 @@ enum rc_filter_type {
* struct rc_dev - represents a remote control device
* @dev: driver model's view of this device
+ * @sysfs_groups: sysfs attribute groups
* @input_name: name of the input child device
* @input_phys: physical path to the input child device
* @input_id: id of the input child device (struct input_id)
@@ -117,6 +118,7 @@ enum rc_filter_type {
struct rc_dev {
struct device dev;
+ const struct attribute_group *sysfs_groups[5];
const char *input_name;
const char *input_phys;
struct input_id input_id;

Privacy Policy