summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/devs.c
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2011-10-13 15:41:51 +0900
committerKukjin Kim <kgene.kim@samsung.com>2011-10-13 15:41:51 +0900
commit07e87e15b969a05a7943d7ff1abc2d8da287171c (patch)
tree9c3d8fbaea4992706c5ad2354b33cfcd17c4d0c7 /arch/arm/plat-samsung/devs.c
parente663cb761c1ceb628743341053a16fe72ff849c8 (diff)
downloadblackbird-op-linux-07e87e15b969a05a7943d7ff1abc2d8da287171c.tar.gz
blackbird-op-linux-07e87e15b969a05a7943d7ff1abc2d8da287171c.zip
ARM: SAMSUNG: Move fimc plat. device from board files to plat-samsung
Move the platform device definitions from boards code to plat-samsung to avoid multiple instances when multiple board support is compiled in. The boards should select at least S5P_DEV_FIMC0 to enable FIMC support. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/devs.c')
-rw-r--r--arch/arm/plat-samsung/devs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c
index cb6fd9e2eb09..4ca8b571f971 100644
--- a/arch/arm/plat-samsung/devs.c
+++ b/arch/arm/plat-samsung/devs.c
@@ -204,6 +204,11 @@ struct platform_device s5p_device_fimc0 = {
.coherent_dma_mask = DMA_BIT_MASK(32),
},
};
+
+struct platform_device s5p_device_fimc_md = {
+ .name = "s5p-fimc-md",
+ .id = -1,
+};
#endif /* CONFIG_S5P_DEV_FIMC0 */
#ifdef CONFIG_S5P_DEV_FIMC1
OpenPOWER on IntegriCloud