video: rockchip: tve: fix compile error and warning

Change-Id: Iacfc54e3f1c01cf3827cbb576d36f64145976bc1
Signed-off-by: Shen Zhenyi <szy@rock-chips.com>
This commit is contained in:
Shen Zhenyi
2016-02-26 17:16:42 +08:00
committed by Gerrit Code Review
parent 035b32d273
commit a5a28cb9c7
2 changed files with 1 additions and 2 deletions

View File

@@ -437,7 +437,6 @@ static int rk3036_tve_probe(struct platform_device *pdev)
rk3036_tve->inputformat = INPUT_FORMAT_YUV;
} else {
dev_err(&pdev->dev, "It is not a valid tv encoder!");
kfree(rk3036_tve);
return -ENOMEM;
}

View File

@@ -125,7 +125,7 @@ enum {
#define grf_writel(offset, v) do { \
writel_relaxed(v, RK_GRF_VIRT + offset); \
dsb(); \
dsb(sy); \
} while (0)
struct rk3036_tve {