[media] af9035: constify clock tables
authorAntti Palosaari <crope@iki.fi>
Fri, 11 Jan 2013 19:34:06 +0000 (16:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 21:49:41 +0000 (18:49 -0300)
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/dvb-usb-v2/af9035.h

index 4465f858eb034eaf27aba908940034bfe3c1abe9..f126eeabf0ba5e449b4f2d4f2ee3c357d90f36b1 100644 (file)
@@ -63,7 +63,7 @@ struct state {
        struct af9033_config af9033_config[2];
 };
 
-u32 clock_lut[] = {
+static const u32 clock_lut[] = {
        20480000, /*      FPGA */
        16384000, /* 16.38 MHz */
        20480000, /* 20.48 MHz */
@@ -78,7 +78,7 @@ u32 clock_lut[] = {
        12000000, /* 12.00 MHz */
 };
 
-u32 clock_lut_it9135[] = {
+static const u32 clock_lut_it9135[] = {
        12000000, /* 12.00 MHz */
        20480000, /* 20.48 MHz */
        36000000, /* 36.00 MHz */