diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-08-20 10:57:19 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-08-20 10:57:19 +0200 |
commit | 0e61c58c9f73dedbde3d35cdca608038643c2547 (patch) | |
tree | 6a1590a3b3d2170b74346f586b490be1e97115df /src/v4l2subdev.c | |
parent | 468bc21f8c6c7eca85477680752052e1ead0e515 (diff) |
Use sysfs to locate devices nodes
Changes made during the v4l2_subdev API review renamed the /dev/subdev*
device nodes to /dev/v4l-subdev*. Instead of hardcoding the names in the
media-ctl application, use sysfs to retrieve the kernel device name and
assume the device node name is identical.
This isn't a perfect solution, we should really use libudev, but it will
do for now.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/v4l2subdev.c')
0 files changed, 0 insertions, 0 deletions