diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2017-03-23 09:44:17 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-03-23 09:44:17 -0700 |
commit | 47577ec76daba33e393213fef2919c3988bf9168 (patch) | |
tree | 398a3d92914a8d7c3560b988a12b3d7dfdb22a7b /include | |
parent | 3ed0c82430121cd151660fd0faa19abdf0a58cf8 (diff) | |
parent | e616d102ce591ab9a1d1254c0052a406cb946bd5 (diff) |
Merge "msm: camera: cpp: Replace const by macro"
Diffstat (limited to 'include')
-rw-r--r-- | include/media/msmb_pproc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/media/msmb_pproc.h b/include/media/msmb_pproc.h index 623fbfce6c67..1e677f95a375 100644 --- a/include/media/msmb_pproc.h +++ b/include/media/msmb_pproc.h @@ -5,6 +5,8 @@ #include <linux/compat.h> +#define MSM_OUTPUT_BUF_CNT 8 + #ifdef CONFIG_COMPAT struct msm_cpp_frame_info32_t { int32_t frame_id; @@ -26,7 +28,7 @@ struct msm_cpp_frame_info32_t { uint32_t feature_mask; uint8_t we_disable; struct msm_cpp_buffer_info_t input_buffer_info; - struct msm_cpp_buffer_info_t output_buffer_info[8]; + struct msm_cpp_buffer_info_t output_buffer_info[MSM_OUTPUT_BUF_CNT]; struct msm_cpp_buffer_info_t duplicate_buffer_info; struct msm_cpp_buffer_info_t tnr_scratch_buffer_info[2]; uint32_t reserved; |