Move dev->fd to dev->v4l2.dev_fd

This commit is contained in:
Kamil Trzcinski
2022-04-10 12:02:54 +02:00
parent ce439fc1ee
commit ec50191992
8 changed files with 28 additions and 29 deletions

View File

@ -32,7 +32,6 @@ typedef struct device_s {
char *name;
char *path;
char bus_info[64];
int fd;
bool allow_dma;
device_hw_t *hw;
@ -40,6 +39,7 @@ typedef struct device_s {
buffer_list_t *output_list;
struct {
int dev_fd;
int subdev_fd;
} v4l2;