From: Olli Salonen Date: Mon, 29 Sep 2014 07:44:17 +0000 (-0300) Subject: [media] sp2: fix incorrect struct X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9a25d410bbc84074578ff2fb3c39aa768c7d5555;p=openwrt%2Fstaging%2Fblogic.git [media] sp2: fix incorrect struct Incorrect struct used in the SP2 driver. Reported-by: Max Nibble Signed-off-by: Olli Salonen Reviewed-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb-frontends/sp2.c b/drivers/media/dvb-frontends/sp2.c index 9b684d5c8f91..1f4f25004711 100644 --- a/drivers/media/dvb-frontends/sp2.c +++ b/drivers/media/dvb-frontends/sp2.c @@ -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");