diff options
Diffstat (limited to 'drivers/media/video/cx88')
-rw-r--r-- | drivers/media/video/cx88/cx88-mpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-mpeg.c b/drivers/media/video/cx88/cx88-mpeg.c index 6f155713ee02..3d8e6d74e064 100644 --- a/drivers/media/video/cx88/cx88-mpeg.c +++ b/drivers/media/video/cx88/cx88-mpeg.c | |||
@@ -572,6 +572,8 @@ struct cx8802_driver * cx8802_get_driver(struct cx8802_dev *dev, enum cx88_board | |||
572 | 572 | ||
573 | list_for_each(list,&cx8802_devlist) { | 573 | list_for_each(list,&cx8802_devlist) { |
574 | h = list_entry(list, struct cx8802_dev, devlist); | 574 | h = list_entry(list, struct cx8802_dev, devlist); |
575 | if (h != dev) | ||
576 | continue; | ||
575 | 577 | ||
576 | list_for_each(list2, &h->drvlist.devlist) { | 578 | list_for_each(list2, &h->drvlist.devlist) { |
577 | d = list_entry(list2, struct cx8802_driver, devlist); | 579 | d = list_entry(list2, struct cx8802_driver, devlist); |