From: Anthony PERARD Date: Mon, 25 Feb 2013 18:10:13 +0000 (+0000) Subject: compile with fewer CONFIG_ symbols X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6c54aff443a1e5b24bbdc4233f651def9531df5d;p=people%2Faperard%2Flinux-chromebook.git compile with fewer CONFIG_ symbols Conflicts: drivers/gpu/drm/exynos/exynos_drm_drv.c --- diff --git a/arch/arm/mach-exynos/include/mach/sysmmu.h b/arch/arm/mach-exynos/include/mach/sysmmu.h index d42589d3ae143..395199da2a0c9 100644 --- a/arch/arm/mach-exynos/include/mach/sysmmu.h +++ b/arch/arm/mach-exynos/include/mach/sysmmu.h @@ -28,7 +28,11 @@ struct sysmmu_platform_data { static inline void platform_set_sysmmu( struct device *sysmmu, struct device *dev) { +#ifndef CONFIG_EXYNOS_IOMMU + printk("DEBUG %s %d, %d %d\n", __func__, __LINE__, sysmmu->id, dev->id); +#else dev->archdata.iommu = sysmmu; +#endif } #ifdef CONFIG_EXYNOS_IOMMU diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index 300d01d72ca60..3ff1e6ae261f0 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.c +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c @@ -30,6 +30,7 @@ #include "drm_crtc_helper.h" #include +#include #include "exynos_drm_drv.h" #include "exynos_drm_crtc.h" @@ -607,7 +608,9 @@ out_mixer: out_hdmi: #endif +#ifdef CONFIG_DRM_EXYNOS_DP platform_driver_unregister(&dp_driver); +#endif out_dp_driver: #ifdef CONFIG_DRM_EXYNOS_FIMD platform_driver_unregister(&fimd_driver); @@ -641,7 +644,9 @@ static void __exit exynos_drm_exit(void) platform_driver_unregister(&vidi_driver); #endif +#ifdef CONFIG_DRM_EXYNOS_DP platform_driver_unregister(&dp_driver); +#endif #ifdef CONFIG_DRM_EXYNOS_FIMD platform_driver_unregister(&fimd_driver); #endif