Hi Kukjin, As suggested by you, the function exynos_fdt_find_mfc_mem() can be moved to plat-samsung. I feel plat-samsung/s5p-dev-mfc.c would be a good place. Hope it is ok? Also I will wrap it with #ifdef CONFIG_OF for non-dt mode. I will post the updated patch with the suggested changes. Regards Arun On Wed, Sep 26, 2012 at 7:42 AM, Kukjin Kim <kgene.kim@xxxxxxxxxxx> wrote: > Karol Lewandowski wrote: >> >> On 09/22/2012 08:07 PM, Arun Kumar K wrote: >> >> > This patch adds device tree entry for MFC v6 in the Exynos5 >> > SoC. Makes the required changes in the clock files and adds >> > MFC to the DT device list. >> > >> > Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@xxxxxxxxxxx> >> > Signed-off-by: Arun Kumar K <arun.kk@xxxxxxxxxxx> >> >> >> Looks good for me. FWIW, I could probably add >> >> Acked-by: Karol Lewandowski <k.lewandowsk@xxxxxxxxxxx> >> > Happens following build error with exynos4_defconfig because of non-DT ? > > arch/arm/mach-exynos/common.c: In function 'exynos_fdt_find_mfc_mem': > arch/arm/mach-exynos/common.c:1058: error: implicit declaration of function 'of_flat_dt_is_compatible' > arch/arm/mach-exynos/common.c:1061: error: implicit declaration of function 'of_get_flat_dt_prop' > arch/arm/mach-exynos/common.c:1061: warning: assignment makes pointer from integer without a cast > arch/arm/mach-exynos/common.c:1064: error: implicit declaration of function 'of_read_ulong' > arch/arm/mach-exynos/common.c:1066: warning: assignment makes pointer from integer without a cast > arch/arm/mach-exynos/common.c:1071: warning: assignment makes pointer from integer without a cast > arch/arm/mach-exynos/common.c:1076: warning: assignment makes pointer from integer without a cast > make[1]: *** [arch/arm/mach-exynos/common.o] Error 1 > > And I think, firstly we could move the function exynos_fdt_find_mfc_mem() into plat-samsung/ for using on other Samsung stuff such as s5pv210 and need to enclose '#ifdef CONFIG_OF" for non-DT? > > Thanks. > > Best regards, > Kgene. > -- > Kukjin Kim <kgene.kim@xxxxxxxxxxx>, Senior Engineer, > SW Solution Development Team, Samsung Electronics Co., Ltd. > > -- > To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.htmlÿôèº{.nÇ+‰·Ÿ®‰†+%ŠËÿ±éݶ;¥Šwÿº{.nÇ+‰·¥Š{±þƦ²éàþÊþ)í…æèw*jg¬±¨¶‰šŽŠÝ¢jÿ¾«þG«?éÿ¢¸¢·¦j:+v‰¨ŠwèjØm¶Ÿÿþø¯ù®w¥þŠàþf£¢·hš?â?úÿ†Ù¥