diff options
author | Greg Hackmann <ghackmann@google.com> | 2013-11-11 14:31:12 -0800 |
---|---|---|
committer | Greg Hackmann <ghackmann@google.com> | 2013-11-20 14:44:38 -0800 |
commit | ccf0b45b743f5075143beccf8beca8fd9e988ef1 (patch) | |
tree | 323258d5046de9d05c7ee4f56293d0814eed4b4c | |
parent | b95f5c534f2ca5c2dfd341732afadce10b306ecd (diff) |
video: adf: fix ADF_MAX_ATTACHMENTS declaration
Userspace-facing ADF_MAX_ATTACHMENTS must be in terms of
userspace-facing struct adf_attachment_config
Change-Id: Iaaddcd6366f13b3e52eb3911efcfff8a61e0b225
Signed-off-by: Greg Hackmann <ghackmann@google.com>
-rw-r--r-- | include/uapi/video/adf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/video/adf.h b/include/uapi/video/adf.h index 73cb936e0da..38458f6428b 100644 --- a/include/uapi/video/adf.h +++ b/include/uapi/video/adf.h @@ -233,7 +233,7 @@ struct adf_device_data { size_t custom_data_size; void __user *custom_data; }; -#define ADF_MAX_ATTACHMENTS (4096 / sizeof(struct adf_attachment)) +#define ADF_MAX_ATTACHMENTS (4096 / sizeof(struct adf_attachment_config)) /** * struct adf_device_data - describes a display interface |