Reviewed-by: Antti Palosaari <cr...@iki.fi>

Antti

On 09/29/2014 10:44 AM, Olli Salonen wrote:
Incorrect struct used in the SP2 driver.

Reported-by: Max Nibble <nibble....@gmail.com>
Signed-off-by: Olli Salonen <olli.salo...@iki.fi>
---
  drivers/media/dvb-frontends/sp2.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/dvb-frontends/sp2.c 
b/drivers/media/dvb-frontends/sp2.c
index 9b684d5..1f4f250 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");



--
http://palosaari.fi/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to