summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/keymaps/rc-zx-irdec.c
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-08-07 22:20:58 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-20 16:02:48 +0200
commit6d741bfed5ed06ed42a16d30f1ed7afdcaf7f092 (patch)
treeba80456506b89d858a91daddde92237b93fabe1c /drivers/media/rc/keymaps/rc-zx-irdec.c
parentmedia: cec: fix remote control passthrough (diff)
downloadlinux-6d741bfed5ed06ed42a16d30f1ed7afdcaf7f092.tar.xz
linux-6d741bfed5ed06ed42a16d30f1ed7afdcaf7f092.zip
media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_*
RC_TYPE is confusing and it's just the protocol. So rename it. Suggested-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Sean Young <sean@mess.org> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc/keymaps/rc-zx-irdec.c')
-rw-r--r--drivers/media/rc/keymaps/rc-zx-irdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/keymaps/rc-zx-irdec.c b/drivers/media/rc/keymaps/rc-zx-irdec.c
index cc889df47eb8..5bf3ab002afc 100644
--- a/drivers/media/rc/keymaps/rc-zx-irdec.c
+++ b/drivers/media/rc/keymaps/rc-zx-irdec.c
@@ -57,7 +57,7 @@ static struct rc_map_list zx_irdec_map = {
.map = {
.scan = zx_irdec_table,
.size = ARRAY_SIZE(zx_irdec_table),
- .rc_type = RC_TYPE_NEC,
+ .rc_proto = RC_PROTO_NEC,
.name = RC_MAP_ZX_IRDEC,
}
};