OSDN Git Service

[media] exynos4-is: Fix compilation for !CONFIG_COMMON_CLK
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 15 Apr 2014 17:34:29 +0000 (14:34 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 18:49:39 +0000 (15:49 -0300)
commitf486e7c3cb9849b6a661931fa8c51a43d477046b
treeaee1868b53147e0217ab18c0e8411732898e1575
parent3e594ce7ea98ed4f4a52333e968ff7eca135737a
[media] exynos4-is: Fix compilation for !CONFIG_COMMON_CLK

CONFIG_COMMON_CLK is not enabled on S5PV210 platform, so include
some clk API data structures conditionally to avoid compilation
errors. These #ifdefs will be removed for next kernel release,
when the S5PV210 platform moves to DT and the common clk API.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: stable@vger.kernel.org # for 3.15
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/exynos4-is/media-dev.c
drivers/media/platform/exynos4-is/media-dev.h