V4L/DVB (9173): S2API: Remove the hardcoded command limit during validation
authorSteven Toth <stoth@linuxtv.org>
Mon, 6 Oct 2008 23:44:04 +0000 (20:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 13 Oct 2008 14:25:35 +0000 (12:25 -0200)
commit82d7669dc3c0e795c24111fed88e9d5d70f209e0
tree89b01d5e4613699de62ed32744f0f78bce2c433f
parente5cefa82ce31b14574947e570d638a6d58225338
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>
drivers/media/dvb/dvb-core/dvb_frontend.c
include/linux/dvb/frontend.h