MLK-21239-5: drm/imx: nwl_dsi-imx: Fix config
authorRobert Chiras <robert.chiras@nxp.com>
Fri, 22 Mar 2019 12:34:03 +0000 (14:34 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
The config DRM_IMX_NWL_DSI depends on DRM_IMX, while DRM_IMX config
depends on IMX_IPUV3_CORE. Since DRM_IMX_NWL_DSI can be used without
IMX_IPUV3_CORE, remove this depend from DRM_IMX.
Also, change the depend on DRM_IMX from DRM_IMX_NWL_DSI to select so
DRM_IMX will be automatically selected (no need to manually add it to
defconfig).

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
drivers/gpu/drm/imx/Kconfig

index 37a6b35..3d1e7d7 100644 (file)
@@ -5,7 +5,6 @@ config DRM_IMX
        select DRM_GEM_CMA_HELPER
        select DRM_KMS_CMA_HELPER
        depends on DRM && (ARCH_MXC || ARCH_MULTIPLATFORM)
-       depends on IMX_IPUV3_CORE
        help
          enable i.MX graphics support
 
@@ -47,7 +46,7 @@ config DRM_IMX_HDMI
 
 config DRM_IMX_NWL_DSI
        tristate "Support for Northwest Logic MIPI DSI displays"
-       depends on DRM_IMX
+       select DRM_IMX
        select MFD_SYSCON
        select DRM_NWL_DSI
        help