Add device_hw_t and device_v4l2_open

This commit is contained in:
Kamil Trzcinski
2022-04-10 09:54:02 +02:00
parent 13528eff1d
commit 76f35f37c8
8 changed files with 35 additions and 18 deletions

9
device/v4l2/device.c Normal file
View File

@ -0,0 +1,9 @@
#include "device/hw/v4l2.h"
#include "device/hw/device.h"
extern device_hw_t device_hw_v4l2;
device_t *device_v4l2_open(const char *name, const char *path)
{
return device_open(name, path, &device_hw_v4l2);
}