]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx24120: constify static data
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 19 May 2015 11:19:47 +0000 (08:19 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 20 May 2015 11:54:41 +0000 (08:54 -0300)
commit6d63232679191bd7d53c9804b6e35f798a7f99b4
treeb31e7670c8a82fdee49c441e9a78b64ce3159c17
parent1a955c60e1377646da737b7cc486f717370eb54b
[media] cx24120: constify static data

Use const on the static data, as gcc may optimize better the
code. Also, would prevent that some code would override the
data there.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de>
drivers/media/dvb-frontends/cx24120.c