[PATCHv3] staging: sm750fb: Add missing Kconfig dependency

Gujulan Elango, Hari Prasath (H.) hgujulan at visteon.com
Thu May 28 08:59:06 UTC 2015


The sm750fb driver has few Framebuffer configuration dependencies that
need to be selected in order to get compiled successfully

Signed-off-by: Gujulan Elango Hari Prasath <hgujulan at visteon.com>
---
	v3: Fix alignment issues addressed by Dan Carpenter.

        v2:Addressed the review comments by Sudhip Mukherjee as I had
missed out a few other dependencies for this driver in my previous
version of the patch.
---
 drivers/staging/sm750fb/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/staging/sm750fb/Kconfig b/drivers/staging/sm750fb/Kconfig
index c40d088..ccebc25 100644
--- a/drivers/staging/sm750fb/Kconfig
+++ b/drivers/staging/sm750fb/Kconfig
@@ -1,6 +1,10 @@
 config FB_SM750
 	tristate "Silicon Motion SM750 framebuffer support"
 	depends on FB && PCI
+	select FB_MODE_HELPERS
+	select FB_CFB_FILLRECT
+	select FB_CFB_COPYAREA
+	select FB_CFB_IMAGEBLIT
 	help
 	  Frame buffer driver for the Silicon Motion SM750 chip
 	  with 2D accelearion and dual head support.
-- 
1.9.1


More information about the devel mailing list