aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dvb/frontend.h
diff options
context:
space:
mode:
authorBrandon Philips <bphilips@suse.de>2008-10-06 20:31:48 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-13 10:27:50 -0400
commitcc7d705e7a2c28ae1bd8b2fd29524277262967ab (patch)
tree22c1f4a55be838d3dfc1290d9b933a70ba34cc20 /include/linux/dvb/frontend.h
parent8953db793d5bdeea5ac92c9e97f57d3ff8a7dccf (diff)
V4L/DVB (9179): S2API: frontend.h cleanup
Reviewing the code briefly and saw this. You can't change more than DTV_IOCTL_MAX_MSGS at once, not 16. Signed-off-by: Brandon Philips <bphilips@suse.de> Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux/dvb/frontend.h')
-rw-r--r--include/linux/dvb/frontend.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/dvb/frontend.h b/include/linux/dvb/frontend.h
index 291dd8e5e58d..3d4fab495fb2 100644
--- a/include/linux/dvb/frontend.h
+++ b/include/linux/dvb/frontend.h
@@ -328,14 +328,14 @@ struct dtv_property {
328 int result; 328 int result;
329} __attribute__ ((packed)); 329} __attribute__ ((packed));
330 330
331/* No more than 16 properties during any given ioctl */ 331/* num of properties cannot exceed DTV_IOCTL_MAX_MSGS per ioctl */
332#define DTV_IOCTL_MAX_MSGS 64
333
332struct dtv_properties { 334struct dtv_properties {
333 __u32 num; 335 __u32 num;
334 struct dtv_property *props; 336 struct dtv_property *props;
335}; 337};
336 338
337#define DTV_IOCTL_MAX_MSGS 64
338
339#define FE_SET_PROPERTY _IOW('o', 82, struct dtv_properties) 339#define FE_SET_PROPERTY _IOW('o', 82, struct dtv_properties)
340#define FE_GET_PROPERTY _IOR('o', 83, struct dtv_properties) 340#define FE_GET_PROPERTY _IOR('o', 83, struct dtv_properties)
341 341