diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-07-12 15:55:48 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-30 19:23:14 -0400 |
commit | f140612d025f2b6a00651e7c2a9cc26b61dca119 (patch) | |
tree | c9a6f3d446420c5c699b606e5d5fba5c8be93b1d /drivers/media/radio/si470x/radio-si470x-i2c.c | |
parent | 8d8c1b375cd5b239607037a859661e98cd0dac00 (diff) |
[media] radio-si470x: Add support for the new band APIs
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio/si470x/radio-si470x-i2c.c')
-rw-r--r-- | drivers/media/radio/si470x/radio-si470x-i2c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/radio/si470x/radio-si470x-i2c.c b/drivers/media/radio/si470x/radio-si470x-i2c.c index fb401a22b033..643a6ff7c5d0 100644 --- a/drivers/media/radio/si470x/radio-si470x-i2c.c +++ b/drivers/media/radio/si470x/radio-si470x-i2c.c | |||
@@ -350,6 +350,7 @@ static int __devinit si470x_i2c_probe(struct i2c_client *client, | |||
350 | } | 350 | } |
351 | 351 | ||
352 | radio->client = client; | 352 | radio->client = client; |
353 | radio->band = 1; /* Default to 76 - 108 MHz */ | ||
353 | mutex_init(&radio->lock); | 354 | mutex_init(&radio->lock); |
354 | init_completion(&radio->completion); | 355 | init_completion(&radio->completion); |
355 | 356 | ||