equal
deleted
inserted
replaced
175 struct saa7146_standard *stds; |
175 struct saa7146_standard *stds; |
176 int num_stds; |
176 int num_stds; |
177 int (*std_callback)(struct saa7146_dev*, struct saa7146_standard *); |
177 int (*std_callback)(struct saa7146_dev*, struct saa7146_standard *); |
178 |
178 |
179 struct saa7146_extension_ioctls *ioctls; |
179 struct saa7146_extension_ioctls *ioctls; |
180 int (*ioctl)(struct saa7146_fh*, unsigned int cmd, void *arg); |
180 long (*ioctl)(struct saa7146_fh *, unsigned int cmd, void *arg); |
181 |
181 |
182 struct file_operations vbi_fops; |
182 struct v4l2_file_operations vbi_fops; |
183 }; |
183 }; |
184 |
184 |
185 struct saa7146_use_ops { |
185 struct saa7146_use_ops { |
186 void (*init)(struct saa7146_dev *, struct saa7146_vv *); |
186 void (*init)(struct saa7146_dev *, struct saa7146_vv *); |
187 int(*open)(struct saa7146_dev *, struct file *); |
187 int(*open)(struct saa7146_dev *, struct file *); |
214 |
214 |
215 /* from saa7146_video.c */ |
215 /* from saa7146_video.c */ |
216 extern struct saa7146_use_ops saa7146_video_uops; |
216 extern struct saa7146_use_ops saa7146_video_uops; |
217 int saa7146_start_preview(struct saa7146_fh *fh); |
217 int saa7146_start_preview(struct saa7146_fh *fh); |
218 int saa7146_stop_preview(struct saa7146_fh *fh); |
218 int saa7146_stop_preview(struct saa7146_fh *fh); |
219 int saa7146_video_do_ioctl(struct inode *inode, struct file *file, |
219 long saa7146_video_do_ioctl(struct file *file, unsigned int cmd, void *arg); |
220 unsigned int cmd, void *arg); |
|
221 |
220 |
222 /* from saa7146_vbi.c */ |
221 /* from saa7146_vbi.c */ |
223 extern struct saa7146_use_ops saa7146_vbi_uops; |
222 extern struct saa7146_use_ops saa7146_vbi_uops; |
224 |
223 |
225 /* resource management functions */ |
224 /* resource management functions */ |