aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDu, Changbin <changbin.du@gmail.com>2012-07-03 05:27:19 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-06 17:21:53 -0400
commit500c3201e2aed201f2de0468dfeb3ceb98a9f981 (patch)
treea0fa37f2603851bdc8c7249b6d2ffde39b369fad /include
parent87e9429490dfe610faaf209795942272bc7a730a (diff)
[media] media: gpio-ir-recv: add allowed_protos for platform data
It's better to give platform code a chance to specify the allowed protocols to use. [mchehab@redhat.com: fix merge conflict with a patch that made half of this change] Signed-off-by: Du, Changbin <changbin.du@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/gpio-ir-recv.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/media/gpio-ir-recv.h b/include/media/gpio-ir-recv.h
index 91546f35b7e1..0142736a59db 100644
--- a/include/media/gpio-ir-recv.h
+++ b/include/media/gpio-ir-recv.h
@@ -14,9 +14,10 @@
14#define __GPIO_IR_RECV_H__ 14#define __GPIO_IR_RECV_H__
15 15
16struct gpio_ir_recv_platform_data { 16struct gpio_ir_recv_platform_data {
17 int gpio_nr; 17 int gpio_nr;
18 bool active_low; 18 bool active_low;
19 const char *map_name; 19 u64 allowed_protos;
20 const char *map_name;
20}; 21};
21 22
22#endif /* __GPIO_IR_RECV_H__ */ 23#endif /* __GPIO_IR_RECV_H__ */