[RFC PATCH 5/7] drm/sti: replace "select RESET_CONTROLLER" with "depends on ..."
Masahiro Yamada
yamada.masahiro at socionext.com
Thu Nov 5 03:15:26 PST 2015
RESET_CONTROLLER should be select'ed by SoCs that support reset
controllers. Use "depends on RESET_CONTROLLER" to describe dependency
between two drivers.
Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---
drivers/gpu/drm/sti/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/sti/Kconfig b/drivers/gpu/drm/sti/Kconfig
index fbccc10..27daa8f 100644
--- a/drivers/gpu/drm/sti/Kconfig
+++ b/drivers/gpu/drm/sti/Kconfig
@@ -1,7 +1,7 @@
config DRM_STI
tristate "DRM Support for STMicroelectronics SoC stiH41x Series"
- depends on DRM && (SOC_STIH415 || SOC_STIH416 || ARCH_MULTIPLATFORM) && HAVE_DMA_ATTRS
- select RESET_CONTROLLER
+ depends on DRM && (SOC_STIH415 || SOC_STIH416 || ARCH_MULTIPLATFORM) && \
+ HAVE_DMA_ATTRS && RESET_CONTROLLER
select DRM_KMS_HELPER
select DRM_GEM_CMA_HELPER
select DRM_KMS_CMA_HELPER
--
1.9.1
More information about the dri-devel
mailing list