Skip to content

Commit

Permalink
[PATCH] v4l: 718: fixed build
Browse files Browse the repository at this point in the history
- Fixed build.

Signed-off-by: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Nickolay V. Shmyrev authored and Linus Torvalds committed Nov 9, 2005
1 parent 3c1904a commit fd35a6b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/media/video/em28xx/em28xx-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,17 +279,16 @@ static void dec_use(struct i2c_adapter *adap)
static int em2820_set_tuner(int check_eeprom, struct i2c_client *client)
{
struct em2820 *dev = client->adapter->algo_data;

struct tuner_setup tun_setup;

/* tuner */
if (dev->has_tuner) {
tun_setup.mode_mask = T_ANALOG_TV | T_RADIO;
tun_setup.type = dev->tuner_type;
tun_setup.addr = dev->tuner_addr;

em2820_i2c_call_clients(dev, TUNER_SET_TYPE_ADDR, &tun_setup);
}

return (0);
}

Expand Down

0 comments on commit fd35a6b

Please sign in to comment.