diff options
author | Steven Toth <stoth@linuxtv.org> | 2008-10-06 20:31:48 -0400 |
---|---|---|
committer | Steven Toth <stoth@linuxtv.org> | 2008-10-06 20:31:48 -0400 |
commit | 35dfa5543c3557464747e67b89107fc28f902b47 (patch) | |
tree | 0398095fab65f5d4f8ceb41ddab773b3f9bc626e /linux/include | |
parent | 676e550cdfcdef430e7dd9e95588b234bc9339fe (diff) | |
download | mediapointer-dvb-s2-35dfa5543c3557464747e67b89107fc28f902b47.tar.gz mediapointer-dvb-s2-35dfa5543c3557464747e67b89107fc28f902b47.tar.bz2 |
S2API: frontend.h cleanup
From: Brandon Philips <bphilips@suse.de>
From the author:
"Reviewing the code briefly and saw this.
You can't change more than DTV_IOCTL_MAX_MSGS at once, not 16."
Priority: normal
Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Brandon Philips <bphilips@suse.de>
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/linux/dvb/frontend.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/include/linux/dvb/frontend.h b/linux/include/linux/dvb/frontend.h index 80f7d9217..bd3d104ac 100644 --- a/linux/include/linux/dvb/frontend.h +++ b/linux/include/linux/dvb/frontend.h @@ -359,14 +359,14 @@ struct dtv_property { int result; } __attribute__ ((packed)); -/* No more than 16 properties during any given ioctl */ +/* num of properties cannot exceed DTV_IOCTL_MAX_MSGS per ioctl */ +#define DTV_IOCTL_MAX_MSGS 64 + struct dtv_properties { __u32 num; struct dtv_property *props; }; -#define DTV_IOCTL_MAX_MSGS 64 - #define FE_SET_PROPERTY _IOW('o', 82, struct dtv_properties) #define FE_GET_PROPERTY _IOR('o', 83, struct dtv_properties) |