diff options
author | Steven Toth <stoth@linuxtv.org> | 2008-10-06 19:44:04 -0400 |
---|---|---|
committer | Steven Toth <stoth@linuxtv.org> | 2008-10-06 19:44:04 -0400 |
commit | b42ee9569d2b79420ffc6f113c7cb94bd335b2aa (patch) | |
tree | dd0f4da244e3ad363e6a0c05bf329c899cd93ddd /linux/include | |
parent | 2def42f61166d6585adf788cd75b81052ae4b1c4 (diff) | |
download | mediapointer-dvb-s2-b42ee9569d2b79420ffc6f113c7cb94bd335b2aa.tar.gz mediapointer-dvb-s2-b42ee9569d2b79420ffc6f113c7cb94bd335b2aa.tar.bz2 |
S2API: Remove the hardcoded command limit during validation
From: Steven Toth <stoth@linuxtv.org>
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.
Priority: normal
Signed-off-by: Steven Toth <stoth@linuxtv.org>
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/linux/dvb/frontend.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/include/linux/dvb/frontend.h b/linux/include/linux/dvb/frontend.h index d28f21796..367e18da0 100644 --- a/linux/include/linux/dvb/frontend.h +++ b/linux/include/linux/dvb/frontend.h @@ -301,6 +301,8 @@ struct dvb_frontend_event { #endif #define DTV_API_VERSION 35 +#define DTV_MAX_COMMAND DTV_API_VERSION + typedef enum fe_pilot { PILOT_ON, PILOT_OFF, |