]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: rc: make device_type const
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 19 Aug 2017 08:22:15 +0000 (05:22 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Oct 2017 18:09:32 +0000 (15:09 -0300)
commita7ab5a64017c7144b2170debb4148931d2e72407
tree9a109956afab995e4db1650a6838c85754aec3a0
parente96181f496f3f68392e0113bd3fd7f2f31abbace
[media] media: rc: make device_type const

Make this const as it is only stored in the type field of a device
structure, which is const.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/rc-main.c