[media] media: gpio-ir-recv: add allowed_protos for platform data
authorDu, Changbin <changbin.du@gmail.com>
Tue, 3 Jul 2012 09:27:19 +0000 (06:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jul 2012 21:21:53 +0000 (18:21 -0300)
commit500c3201e2aed201f2de0468dfeb3ceb98a9f981
treea0fa37f2603851bdc8c7249b6d2ffde39b369fad
parent87e9429490dfe610faaf209795942272bc7a730a
[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>
drivers/media/rc/gpio-ir-recv.c
include/media/gpio-ir-recv.h