[media] sp2: fix incorrect struct
authorOlli Salonen <[email protected]>
Mon, 29 Sep 2014 07:44:17 +0000 (04:44 -0300)
committerMauro Carvalho Chehab <[email protected]>
Thu, 30 Oct 2014 13:46:34 +0000 (11:46 -0200)
Incorrect struct used in the SP2 driver.

Reported-by: Max Nibble <[email protected]>
Signed-off-by: Olli Salonen <[email protected]>
Reviewed-by: Antti Palosaari <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
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");