Thread (85 messages) 85 messages, 16 authors, 2022-02-01

Re: [PATCH v1 4/4] fbtft: Replace 'depends on FB_TFT' by 'if FB_TFT ... endif'

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2022-01-26 13:03:53
Also in: dri-devel, linux-staging, lkml

On Wed, Jan 26, 2022 at 12:54:13AM -0800, Joe Perches wrote:
On Tue, 2022-01-25 at 22:21 +0200, Andy Shevchenko wrote:
quoted
Replace 'depends on FB_TFT' by 'if FB_TFT ... endif'
for the sake of deduplication.
[]
quoted
diff --git a/drivers/video/fbtft/Kconfig b/drivers/video/fbtft/Kconfig
[]
quoted
@@ -10,87 +10,75 @@ menuconfig FB_TFT
 	select FB_DEFERRED_IO
 	select FB_BACKLIGHT
 
+if FB_TFT
+
[]
quoted
 config FB_TFT_PCD8544
 	tristate "FB driver for the PCD8544 LCD Controller"
-	depends on FB_TFT
 	help
 	  Generic Framebuffer support for PCD8544
 
@@ -108,62 +96,52 @@ config FB_TFT_S6D02A1
Looks like you missed a couple.
Thanks! I'll incorporate it, if the series has a continuation.

-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help