diff options
author | Kenneth Aafloy <devnull@localhost> | 2004-07-14 12:33:22 +0000 |
---|---|---|
committer | Kenneth Aafloy <devnull@localhost> | 2004-07-14 12:33:22 +0000 |
commit | f27616616f804e6941caddcd3c45446b5298579a (patch) | |
tree | b44eed679ce382623dfdfd0e5fbd8c5c24902f3b | |
parent | aae73aaf4878b78e7641ccd8496482a2e6e3f61b (diff) | |
download | mediapointer-dvb-s2-f27616616f804e6941caddcd3c45446b5298579a.tar.gz mediapointer-dvb-s2-f27616616f804e6941caddcd3c45446b5298579a.tar.bz2 |
- Add missing dvb_unregister_frontend_new
-rw-r--r-- | linux/drivers/media/dvb/frontends/ves1x93.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/ves1x93.c b/linux/drivers/media/dvb/frontends/ves1x93.c index 5563e2578..992ca9e45 100644 --- a/linux/drivers/media/dvb/frontends/ves1x93.c +++ b/linux/drivers/media/dvb/frontends/ves1x93.c @@ -653,7 +653,9 @@ static int attach_adapter(struct i2c_adapter *adapter) static int detach_client(struct i2c_client *client) { struct ves1x93_state *state = (struct ves1x93_state*)i2c_get_clientdata(client); + dvb_unregister_frontend_new(ves1x93_ioctl, state->dvb); i2c_detach_client(client); + BUG_ON(state->dvb); kfree(client); kfree(state); return 0; |