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>
This commit is contained in:
Родитель
6abe6bff6f
Коммит
bbad7dc548
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче