projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b799b81
)
[media] af9035: constify clock tables
author
Antti Palosaari
<crope@iki.fi>
Fri, 11 Jan 2013 19:34:06 +0000
(16:34 -0300)
committer
Mauro 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
patch
|
blob
|
history
diff --git
a/drivers/media/usb/dvb-usb-v2/af9035.h
b/drivers/media/usb/dvb-usb-v2/af9035.h
index
4465f85
..
f126eea
100644
(file)
--- a/
drivers/media/usb/dvb-usb-v2/af9035.h
+++ b/
drivers/media/usb/dvb-usb-v2/af9035.h
@@
-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 */