[media] Staging: media: bcm2048: defined region_configs[] array as const array
authorClaudiu Beznea <claudiu.beznea@gmail.com>
Sun, 27 Mar 2016 21:15:14 +0000 (18:15 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 20 Apr 2016 19:05:35 +0000 (16:05 -0300)
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>
drivers/staging/media/bcm2048/radio-bcm2048.c

index abf330f..8dade19 100644 (file)
@@ -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,