V4L/DVB (3437): Fix typo in enum name and use enum in struct dmxdev_filter
authorAndreas Oberritter <obi@linuxtv.org>
Fri, 10 Mar 2006 18:21:58 +0000 (15:21 -0300)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 21 Mar 2006 16:53:04 +0000 (08:53 -0800)
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>
drivers/media/dvb/dvb-core/dmxdev.h

index 5d4d18a00a6855b016fbbda2f5c42a1cac9038f5..1b3e49bd9aa2593ab09c38f716b650dc793f8b7f 100644 (file)
@@ -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;