summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@linuxtv.org>2006-03-10 19:21:58 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-21 17:53:04 +0100
commitbbad7dc5488a04fadebd7fa8aa051d81c2ae0080 (patch)
treeec1ddb9229f93e7a3b911b68d1e5aae800249ea7
parentV4L/DVB (3436): Remove 'dvbdev' from struct dmxdev_filter (diff)
downloadlinux-bbad7dc5488a04fadebd7fa8aa051d81c2ae0080.tar.xz
linux-bbad7dc5488a04fadebd7fa8aa051d81c2ae0080.zip
V4L/DVB (3437): Fix typo in enum name and use enum in struct dmxdev_filter
Rename 'enum dmxdevype' to 'enum dmxdev_type' and use this enum instead of int for the member 'type' of struct dmxdev_filter. Signed-off-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/dvb/dvb-core/dmxdev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-core/dmxdev.h b/drivers/media/dvb/dvb-core/dmxdev.h
index 5d4d18a00a68..1b3e49bd9aa2 100644
--- a/drivers/media/dvb/dvb-core/dmxdev.h
+++ b/drivers/media/dvb/dvb-core/dmxdev.h
@@ -37,7 +37,7 @@
#include "dvbdev.h"
#include "demux.h"
-enum dmxdevype {
+enum dmxdev_type {
DMXDEV_TYPE_NONE,
DMXDEV_TYPE_SEC,
DMXDEV_TYPE_PES,
@@ -76,7 +76,7 @@ struct dmxdev_filter {
struct dmx_pes_filter_params pes;
} params;
- int type;
+ enum dmxdev_type type;
enum dmxdev_state state;
struct dmxdev *dev;
struct dmxdev_buffer buffer;