summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2007-06-15 11:02:56 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2007-06-15 11:02:56 -0300
commitf4b8fea24f4e75503f30976ccc21429a49accc66 (patch)
tree3ede815a7fbb1727ee8c279bbb1b991ea3ba6aad
parent94558adfeb72462a181b3558e692d53d85a19f12 (diff)
downloadmediapointer-dvb-s2-f4b8fea24f4e75503f30976ccc21429a49accc66.tar.gz
mediapointer-dvb-s2-f4b8fea24f4e75503f30976ccc21429a49accc66.tar.bz2
Fix module unregister
From: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--linux/drivers/staging/tm6000/tm6000-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/staging/tm6000/tm6000-video.c b/linux/drivers/staging/tm6000/tm6000-video.c
index 4606e0b94..6b5dca230 100644
--- a/linux/drivers/staging/tm6000/tm6000-video.c
+++ b/linux/drivers/staging/tm6000/tm6000-video.c
@@ -1596,7 +1596,7 @@ int tm6000_v4l2_unregister(struct tm6000_core *dev)
list_for_each_safe(pos, tmp, &tm6000_corelist) {
h = list_entry(pos, struct tm6000_core, tm6000_corelist);
if (h == dev) {
- list_del(list);
+ list_del(pos);
}
}