aboutsummaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2013-11-11 14:31:12 -0800
committerColin Cross <ccross@android.com>2014-03-19 13:10:47 -0700
commitc26b8c4e4a9b86d9751782ee0d5f4373da736e3c (patch)
tree701fb03991df8f0ff6c72c9aff37a339f739f023 /include/uapi
parentb276de1f6611e91b2eeb40209b82f198d0708e5d (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/uapi')
-rw-r--r--include/uapi/video/adf.h2
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