summaryrefslogtreecommitdiff
path: root/drivers/staging/media/bcm2048
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@gmail.com>2016-03-27 18:15:14 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-04-20 16:05:35 -0300
commitb05a4fa66a8d4589ba9f027db11d383250a4b774 (patch)
tree7359efd044e9cb3a64c53581c161ca29517ed9af /drivers/staging/media/bcm2048
parentc5c631416789004e7205a56ab1aaab2b3a011b1b (diff)
[media] Staging: media: bcm2048: defined region_configs[] array as const array
This patch defines region_configs[] array as const array since it is not changed anywhere in code. Signed-off-by: Claudiu Beznea <claudiu.beznea@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/staging/media/bcm2048')
-rw-r--r--drivers/staging/media/bcm2048/radio-bcm2048.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c b/drivers/staging/media/bcm2048/radio-bcm2048.c
index abf330f92c0b..8dade197f053 100644
--- a/drivers/staging/media/bcm2048/radio-bcm2048.c
+++ b/drivers/staging/media/bcm2048/radio-bcm2048.c
@@ -308,7 +308,7 @@ module_param(radio_nr, int, 0);
MODULE_PARM_DESC(radio_nr,
"Minor number for radio device (-1 ==> auto assign)");
-static struct region_info region_configs[] = {
+static const struct region_info region_configs[] = {
/* USA */
{
.channel_spacing = 20,