summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/sp2.c
diff options
context:
space:
mode:
authorOlli Salonen <olli.salonen@iki.fi>2014-09-29 11:44:17 +0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-10-30 16:46:34 +0300
commit9a25d410bbc84074578ff2fb3c39aa768c7d5555 (patch)
treef231481cbb710008927ee48f9dec385c23e0c85f /drivers/media/dvb-frontends/sp2.c
parent82c10276d4e86fa51b89cf62a1cf6ed12d543843 (diff)
downloadlinux-9a25d410bbc84074578ff2fb3c39aa768c7d5555.tar.xz
[media] sp2: fix incorrect struct
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>
Diffstat (limited to 'drivers/media/dvb-frontends/sp2.c')
-rw-r--r--drivers/media/dvb-frontends/sp2.c2
1 files changed, 1 insertions, 1 deletions
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");