[COMMON] fimc-is2: Fix a compiling error
authorSunmi Lee <carrotsm.lee@samsung.com>
Wed, 4 Jul 2018 05:56:55 +0000 (14:56 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:06:16 +0000 (17:06 +0900)
There was a compiling error when USE_YUV_RANGE_BY_ISP was turned off.

PR JIRA ID: CPR-34

Change-Id: I74ac4fb50d57a432b98d59493f7cfe565364b662
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-mcscaler-v2.c

index 9184e8b83e0d9fdb4435ac349c2189f68b71b602..413455968234836d1aa03e40b84d567af7c5b36f 100644 (file)
@@ -2076,6 +2076,7 @@ int fimc_is_hw_mcsc_output_yuvrange(struct fimc_is_hw_ip *hw_ip, struct param_mc
        struct fimc_is_hw_mcsc *hw_mcsc = NULL;
 #if !defined(USE_YUV_RANGE_BY_ISP)
        struct hw_mcsc_setfile *setfile;
+       enum exynos_sensor_position sensor_position;
 #endif
        struct fimc_is_hw_mcsc_cap *cap = GET_MCSC_HW_CAP(hw_ip);