get_media_devices: While not too late, change enum definitions
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 28 May 2011 20:53:22 +0000 (17:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 28 May 2011 20:58:41 +0000 (17:58 -0300)
commitf4b121aa256e27d6f6f1214cc56a6205045a7651
tree70b3c186ac8783a9ab3d244f5eceff0d9f972f3f
parentf13a30022a7646c33adca535aa05636d7ba672e4
get_media_devices: While not too late, change enum definitions

Enum definitions like "NONE" and "UNKNOWN" are dangerous, as
they may conflict with something else. So add MEDIA_ prefix
to all enums to avoid it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
utils/libmedia_dev/get_media_devices.c
utils/libmedia_dev/get_media_devices.h
utils/v4l2-sysfs-path/v4l2-sysfs-path.c