]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/zoran_driver.c
V4L/DVB (8499): zr36067: Rework device memory allocation
[linux-2.6-omap-h63xx.git] / drivers / media / video / zoran_driver.c
index e1e1b19a0aed6b82a57edc996d53aa064a3e5256..3ca58221d5a9e08bf4d42da9d205d59a876a12df 100644 (file)
@@ -1213,8 +1213,8 @@ zoran_open (struct inode *inode,
 
        /* find the device */
        for (i = 0; i < zoran_num; i++) {
-               if (zoran[i].video_dev->minor == minor) {
-                       zr = &zoran[i];
+               if (zoran[i]->video_dev->minor == minor) {
+                       zr = zoran[i];
                        break;
                }
        }