diff options
| author | Greg Hackmann <ghackmann@google.com> | 2013-11-11 14:31:12 -0800 |
|---|---|---|
| committer | John Stultz <john.stultz@linaro.org> | 2016-02-16 13:53:15 -0800 |
| commit | f9c220a4861f91b7051f6d29db58c9aca8b06cbb (patch) | |
| tree | b26281d2ae7ce93a499951f45a8ad9397d0fe3b3 /include | |
| parent | bae2a99bc330bbbbf567ff8a970065b8813b59e9 (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>
Diffstat (limited to 'include')
| -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 73cb936e0da9..38458f6428b5 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 |
