summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-03-10 15:21:58 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-03-10 15:21:58 -0300
commita8e47043828170edcd5ee7586ca37c9ef52497ad (patch)
treed31af0ab1e18fbeb691ceca01e30357435276cee
parent6b70793b0fb5b9f9ef070eaa583954d21cded600 (diff)
downloadmediapointer-dvb-s2-a8e47043828170edcd5ee7586ca37c9ef52497ad.tar.gz
mediapointer-dvb-s2-a8e47043828170edcd5ee7586ca37c9ef52497ad.tar.bz2
Fix typo in enum name and use enum in struct dmxdev_filter
From: Andreas Oberritter <obi@linuxtv.org> 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--linux/drivers/media/dvb/dvb-core/dmxdev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dmxdev.h b/linux/drivers/media/dvb/dvb-core/dmxdev.h
index 63f299d0f..73da838f8 100644
--- a/linux/drivers/media/dvb/dvb-core/dmxdev.h
+++ b/linux/drivers/media/dvb/dvb-core/dmxdev.h
@@ -40,7 +40,7 @@
#include "dvbdev.h"
#include "demux.h"
-enum dmxdevype {
+enum dmxdev_type {
DMXDEV_TYPE_NONE,
DMXDEV_TYPE_SEC,
DMXDEV_TYPE_PES,
@@ -79,7 +79,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;