aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2014-04-04 18:06:06 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-04-06 10:30:29 -0400
commit99b0f3c96cebf3af9a645d9b00db14cb04fcdfa2 (patch)
treec4e71886d446d1f32c57b7bddaba3451fe585b0b /include
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')
-rw-r--r--include/media/rc-core.h2
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 {
60/** 60/**
61 * struct rc_dev - represents a remote control device 61 * struct rc_dev - represents a remote control device
62 * @dev: driver model's view of this device 62 * @dev: driver model's view of this device
63 * @sysfs_groups: sysfs attribute groups
63 * @input_name: name of the input child device 64 * @input_name: name of the input child device
64 * @input_phys: physical path to the input child device 65 * @input_phys: physical path to the input child device
65 * @input_id: id of the input child device (struct input_id) 66 * @input_id: id of the input child device (struct input_id)
@@ -117,6 +118,7 @@ enum rc_filter_type {
117 */ 118 */
118struct rc_dev { 119struct rc_dev {
119 struct device dev; 120 struct device dev;
121 const struct attribute_group *sysfs_groups[5];
120 const char *input_name; 122 const char *input_name;
121 const char *input_phys; 123 const char *input_phys;
122 struct input_id input_id; 124 struct input_id input_id;