]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] sp2: fix incorrect struct
authorOlli Salonen <olli.salonen@iki.fi>
Mon, 29 Sep 2014 07:44:17 +0000 (04:44 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 30 Oct 2014 13:46:34 +0000 (11:46 -0200)
Incorrect struct used in the SP2 driver.

Reported-by: Max Nibble <nibble.max@gmail.com>
Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/sp2.c

index 9b684d5c8f91971edc28f0ddeebdafbc0225da50..1f4f25004711f386b5972748934e4d440b6a3fb7 100644 (file)
@@ -407,7 +407,7 @@ err:
 
 static int sp2_remove(struct i2c_client *client)
 {
-       struct si2157 *s = i2c_get_clientdata(client);
+       struct sp2 *s = i2c_get_clientdata(client);
 
        dev_dbg(&client->dev, "\n");