Use sysfs to locate devices nodes
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 20 Aug 2010 08:57:19 +0000 (10:57 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 20 Aug 2010 08:57:19 +0000 (10:57 +0200)
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>

No differences found