From b42ee9569d2b79420ffc6f113c7cb94bd335b2aa Mon Sep 17 00:00:00 2001 From: Steven Toth Date: Mon, 6 Oct 2008 19:44:04 -0400 Subject: S2API: Remove the hardcoded command limit during validation From: Steven Toth 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 --- linux/include/linux/dvb/frontend.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux/include') 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, -- cgit v1.2.3