]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/staging/go7007/wis-sony-tuner.c
Staging: go7007: saa7134 updates
[mirror_ubuntu-artful-kernel.git] / drivers / staging / go7007 / wis-sony-tuner.c
index 5a91ee409a7ced90522cccaf623c54e37fc3121e..58fddb12237239b7acae3e75ba2f70c48c7745ee 100644 (file)
@@ -604,7 +604,7 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg)
        {
                struct v4l2_tuner *tun = arg;
 
-               memset(t, 0, sizeof(*tun));
+               memset(tun, 0, sizeof(*tun));
                strcpy(tun->name, "Television");
                tun->type = V4L2_TUNER_ANALOG_TV;
                tun->rangelow = 0UL; /* does anything use these? */