diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/radio/radio-maxiradio.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/media/radio/radio-maxiradio.c b/drivers/media/radio/radio-maxiradio.c index e5bfbd15820..8e184cfc1c9 100644 --- a/drivers/media/radio/radio-maxiradio.c +++ b/drivers/media/radio/radio-maxiradio.c | |||
@@ -117,8 +117,10 @@ static struct radio_device | |||
117 | unsigned long freq; | 117 | unsigned long freq; |
118 | 118 | ||
119 | struct mutex lock; | 119 | struct mutex lock; |
120 | } radio_unit = {0, 0, 0, 0, }; | 120 | } radio_unit = { |
121 | 121 | .muted =1, | |
122 | .freq = FREQ_LO, | ||
123 | }; | ||
122 | 124 | ||
123 | static void outbit(unsigned long bit, __u16 io) | 125 | static void outbit(unsigned long bit, __u16 io) |
124 | { | 126 | { |
@@ -405,7 +407,7 @@ static int __devinit maxiradio_init_one(struct pci_dev *pdev, const struct pci_d | |||
405 | mutex_init(&radio_unit.lock); | 407 | mutex_init(&radio_unit.lock); |
406 | maxiradio_radio.priv = &radio_unit; | 408 | maxiradio_radio.priv = &radio_unit; |
407 | 409 | ||
408 | if(video_register_device(&maxiradio_radio, VFL_TYPE_RADIO, radio_nr)==-1) { | 410 | if (video_register_device(&maxiradio_radio, VFL_TYPE_RADIO, radio_nr)==-1) { |
409 | printk("radio-maxiradio: can't register device!"); | 411 | printk("radio-maxiradio: can't register device!"); |
410 | goto err_out_free_region; | 412 | goto err_out_free_region; |
411 | } | 413 | } |