Commit bbad7dc5 authored by Andreas Oberritter's avatar Andreas Oberritter Committed by Linus Torvalds

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: default avatarAndreas Oberritter <obi@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 6abe6bff
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#include "dvbdev.h" #include "dvbdev.h"
#include "demux.h" #include "demux.h"
enum dmxdevype { enum dmxdev_type {
DMXDEV_TYPE_NONE, DMXDEV_TYPE_NONE,
DMXDEV_TYPE_SEC, DMXDEV_TYPE_SEC,
DMXDEV_TYPE_PES, DMXDEV_TYPE_PES,
...@@ -76,7 +76,7 @@ struct dmxdev_filter { ...@@ -76,7 +76,7 @@ struct dmxdev_filter {
struct dmx_pes_filter_params pes; struct dmx_pes_filter_params pes;
} params; } params;
int type; enum dmxdev_type type;
enum dmxdev_state state; enum dmxdev_state state;
struct dmxdev *dev; struct dmxdev *dev;
struct dmxdev_buffer buffer; struct dmxdev_buffer buffer;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment