[media] exynos4-is: Remove static driver data for Exynos4210 FIMC variants
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Sun, 24 Feb 2013 21:29:21 +0000 (18:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 4 Apr 2013 23:19:55 +0000 (20:19 -0300)
The Exynos platform will support only device tree based booting
from v3.10. The FIMC variant data will be parsed directly from
the device tree, hence the now unused static data can be removed.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/exynos4-is/fimc-core.c

index 6b4a244..90d907e 100644 (file)
@@ -1142,14 +1142,6 @@ static const struct fimc_pix_limit s5p_pix_limit[4] = {
                .out_rot_en_w   = 1280,
                .out_rot_dis_w  = 1920,
        },
-       [3] = {
-               .scaler_en_w    = 1920,
-               .scaler_dis_w   = 8192,
-               .in_rot_en_h    = 1366,
-               .in_rot_dis_w   = 8192,
-               .out_rot_en_w   = 1366,
-               .out_rot_dis_w  = 1920,
-       },
 };
 
 static const struct fimc_variant fimc0_variant_s5p = {
@@ -1204,27 +1196,6 @@ static const struct fimc_variant fimc2_variant_s5pv210 = {
        .pix_limit       = &s5p_pix_limit[2],
 };
 
-static const struct fimc_variant fimc0_variant_exynos4210 = {
-       .has_inp_rot     = 1,
-       .has_out_rot     = 1,
-       .has_cam_if      = 1,
-       .has_mainscaler_ext = 1,
-       .min_inp_pixsize = 16,
-       .min_out_pixsize = 16,
-       .hor_offs_align  = 2,
-       .min_vsize_align = 1,
-       .pix_limit       = &s5p_pix_limit[1],
-};
-
-static const struct fimc_variant fimc3_variant_exynos4210 = {
-       .has_mainscaler_ext = 1,
-       .min_inp_pixsize = 16,
-       .min_out_pixsize = 16,
-       .hor_offs_align  = 2,
-       .min_vsize_align = 1,
-       .pix_limit       = &s5p_pix_limit[3],
-};
-
 /* S5PC100 */
 static const struct fimc_drvdata fimc_drvdata_s5p = {
        .variant = {
@@ -1252,12 +1223,6 @@ static const struct fimc_drvdata fimc_drvdata_s5pv210 = {
 
 /* EXYNOS4210, S5PV310, S5PC210 */
 static const struct fimc_drvdata fimc_drvdata_exynos4210 = {
-       .variant = {
-               [0] = &fimc0_variant_exynos4210,
-               [1] = &fimc0_variant_exynos4210,
-               [2] = &fimc0_variant_exynos4210,
-               [3] = &fimc3_variant_exynos4210,
-       },
        .num_entities   = 4,
        .lclk_frequency = 166000000UL,
        .dma_pix_hoff   = 1,