Browse Source

video: fbdev: add the dependency of broadsheetfb in Kconfig

broadsheetfb is a platform driver and it should not be used on x86.
It should be used only by single ARM PXA board so add the dependency
in Kconfig.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Jia-Ju Bai 7 years ago
parent
commit
ad4366ad48
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/video/fbdev/Kconfig

+ 1 - 1
drivers/video/fbdev/Kconfig

@@ -2240,7 +2240,7 @@ config FB_MX3
 
 config FB_BROADSHEET
 	tristate "E-Ink Broadsheet/Epson S1D13521 controller support"
-	depends on FB
+	depends on FB && (ARCH_PXA || COMPILE_TEST)
 	select FB_SYS_FILLRECT
 	select FB_SYS_COPYAREA
 	select FB_SYS_IMAGEBLIT