mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
V4L/DVB (9173): S2API: Remove the hardcoded command limit during validation
This means that when developers add new commands then they'll be see the DTV_MAX_COMMAND define and will be more likely to modify it, without having to modify the command validation code. Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
e5cefa82ce
commit
82d7669dc3
2 changed files with 3 additions and 2 deletions
|
@ -270,6 +270,8 @@ struct dvb_frontend_event {
|
|||
|
||||
#define DTV_API_VERSION 35
|
||||
|
||||
#define DTV_MAX_COMMAND DTV_API_VERSION
|
||||
|
||||
typedef enum fe_pilot {
|
||||
PILOT_ON,
|
||||
PILOT_OFF,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue