summaryrefslogtreecommitdiff
path: root/drivers/media/tuners/fc2580.c
diff options
context:
space:
mode:
authorGianluca Gennari <gennarone@gmail.com>2012-09-24 07:37:16 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-01 17:07:06 -0300
commite221a1b8960e7083029018e3cf2b4097e27d4891 (patch)
treee8741b426192fbff04f21a6b9af0aea45ca88227 /drivers/media/tuners/fc2580.c
parent0c42a55c86228ba9d0969562fcebc2adc79bfddb (diff)
[media] fc2580: define const as UL to silence a warning
fc2580.c: In function 'fc2580_set_params': fc2580.c:150: warning: this decimal constant is unsigned only in ISO C90 Signed-off-by: Gianluca Gennari <gennarone@gmail.com> Reviewed-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/tuners/fc2580.c')
-rw-r--r--drivers/media/tuners/fc2580.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/tuners/fc2580.c b/drivers/media/tuners/fc2580.c
index ec7965d7c2f8..5206ccb588af 100644
--- a/drivers/media/tuners/fc2580.c
+++ b/drivers/media/tuners/fc2580.c
@@ -147,7 +147,7 @@ static int fc2580_set_params(struct dvb_frontend *fe)
f_vco = c->frequency;
f_vco *= fc2580_pll_lut[i].div;
- if (f_vco >= 2600000000)
+ if (f_vco >= 2600000000UL)
tmp_val = 0x0e | fc2580_pll_lut[i].band;
else
tmp_val = 0x06 | fc2580_pll_lut[i].band;