Skip to contentSkip to conversation

drm/panel: use 'select' for Ili9341 panel driver helpers

PATCH In review Randy Dunlap 2 participants 2 messages Aug 23, 2022 – Aug 26, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 drm/panel: use 'select' for Ili9341 panel driver helpers

Use 'select' instead of 'depends on' for DRM helpers for the Ilitek ILI9341 panel driver.
This is what is done in the vast majority of other cases and this makes it possible to fix a build error with drm_mipi_dbi.

Fixes 5a04227326b0 ("drm/panel: Add ilitek ili9341 panel driver")
Cc Dillon Min <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Sam Ravnborg <[email protected]>
Cc Noralf Trønnes <[email protected]>
Cc Thomas Zimmermann <[email protected]>
Cc Thierry Reding <[email protected]>
Cc David Airlie <[email protected]>
Cc Daniel Vetter <[email protected]>
---
 drivers/gpu/drm/panel/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/panel/Kconfig +2 -2
@@ -165,8 +165,8 @@ config DRM_PANEL_ILITEK_IL9322
 config DRM_PANEL_ILITEK_ILI9341
 	tristate "Ilitek ILI9341 240x320 QVGA panels"
 	depends on OF && SPI
-	depends on DRM_KMS_HELPER
-	depends on DRM_GEM_DMA_HELPER
+	select DRM_KMS_HELPER
+	select DRM_GEM_DMA_HELPER
 	depends on BACKLIGHT_CLASS_DEVICE
 	select DRM_MIPI_DBI
 	help
#1 lore raw
Quoted 5 lines · Randy Dunlap

Use 'select' instead of 'depends on' for DRM helpers for the Ilitek ILI9341 panel driver.
This is what is done in the vast majority of other cases and this makes it possible to fix a build error with drm_mipi_dbi.

Quoted 11 lines
Fixes 5a04227326b0 ("drm/panel: Add ilitek ili9341 panel driver")
Cc Dillon Min <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Sam Ravnborg <[email protected]>
Cc Noralf Trønnes <[email protected]>
Cc Thomas Zimmermann <[email protected]>
Cc Thierry Reding <[email protected]>
Cc David Airlie <[email protected]>
Cc Daniel Vetter <[email protected]>

Patch applied to drm-misc-next

Yours,
Linus Walleij