diff options
Diffstat (limited to 'arch/arm/plat-samsung/devs.c')
-rw-r--r-- | arch/arm/plat-samsung/devs.c | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/arch/arm/plat-samsung/devs.c b/arch/arm/plat-samsung/devs.c index 51afedda9ab6..de9ad27495e7 100644 --- a/arch/arm/plat-samsung/devs.c +++ b/arch/arm/plat-samsung/devs.c | |||
@@ -878,51 +878,6 @@ void __init s3c24xx_fb_set_platdata(struct s3c2410fb_mach_info *pd) | |||
878 | } | 878 | } |
879 | #endif /* CONFIG_PLAT_S3C24XX */ | 879 | #endif /* CONFIG_PLAT_S3C24XX */ |
880 | 880 | ||
881 | /* MFC */ | ||
882 | |||
883 | #ifdef CONFIG_S5P_DEV_MFC | ||
884 | static struct resource s5p_mfc_resource[] = { | ||
885 | [0] = DEFINE_RES_MEM(S5P_PA_MFC, SZ_64K), | ||
886 | [1] = DEFINE_RES_IRQ(IRQ_MFC), | ||
887 | }; | ||
888 | |||
889 | struct platform_device s5p_device_mfc = { | ||
890 | .name = "s5p-mfc", | ||
891 | .id = -1, | ||
892 | .num_resources = ARRAY_SIZE(s5p_mfc_resource), | ||
893 | .resource = s5p_mfc_resource, | ||
894 | }; | ||
895 | |||
896 | /* | ||
897 | * MFC hardware has 2 memory interfaces which are modelled as two separate | ||
898 | * platform devices to let dma-mapping distinguish between them. | ||
899 | * | ||
900 | * MFC parent device (s5p_device_mfc) must be registered before memory | ||
901 | * interface specific devices (s5p_device_mfc_l and s5p_device_mfc_r). | ||
902 | */ | ||
903 | |||
904 | struct platform_device s5p_device_mfc_l = { | ||
905 | .name = "s5p-mfc-l", | ||
906 | .id = -1, | ||
907 | .dev = { | ||
908 | .parent = &s5p_device_mfc.dev, | ||
909 | .dma_mask = &samsung_device_dma_mask, | ||
910 | .coherent_dma_mask = DMA_BIT_MASK(32), | ||
911 | }, | ||
912 | }; | ||
913 | |||
914 | struct platform_device s5p_device_mfc_r = { | ||
915 | .name = "s5p-mfc-r", | ||
916 | .id = -1, | ||
917 | .dev = { | ||
918 | .parent = &s5p_device_mfc.dev, | ||
919 | .dma_mask = &samsung_device_dma_mask, | ||
920 | .coherent_dma_mask = DMA_BIT_MASK(32), | ||
921 | }, | ||
922 | }; | ||
923 | |||
924 | #endif /* CONFIG_S5P_DEV_MFC */ | ||
925 | |||
926 | /* MIPI CSIS */ | 881 | /* MIPI CSIS */ |
927 | 882 | ||
928 | #ifdef CONFIG_S5P_DEV_CSIS0 | 883 | #ifdef CONFIG_S5P_DEV_CSIS0 |