[linux-dvb] [PATCH] fix typo in enum name and use enum in struct dmxdev_filter

Andreas Oberritter obi at linuxtv.org
Thu Mar 9 08:36:39 CET 2006


From: Andreas Oberritter <obi at 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 at linuxtv.org>
---

diff -r f0fec978070a linux/drivers/media/dvb/dvb-core/dmxdev.h
--- a/linux/drivers/media/dvb/dvb-core/dmxdev.h	Thu Mar  9 08:29:09 2006 +0100
+++ b/linux/drivers/media/dvb/dvb-core/dmxdev.h	Thu Mar  9 08:32:40 2006 +0100
@@ -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;





More information about the linux-dvb mailing list