# \[PATCH\] video: fbdev: add the dependency of broadsheetfb in Kconfig

- Subsystems: FRAMEBUFFER LAYER, THE REST
- Maintainers: Helge Deller, Linus Torvalds
- List: linux-fbdev
- 2 messages, 2 authors
- Page: https://ratatoskr.run/linux-fbdev/2018/07/5343729/t

## \[PATCH\] video: fbdev: add the dependency of broadsheetfb in Kconfig

- From: Jia-Ju Bai \<hidden\>
- Date: 2018-07-27 08:13:16 
- Message: https://ratatoskr.run/linux-fbdev/2018/07/5343729.md

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

Signed-off-by: Jia-Ju Bai <redacted>
---
 drivers/video/fbdev/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig
index d94254263ea5..ec91d7a2d8b8 100644
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -2241,7 +2241,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
-- 
2.17.0

```

## Re: \[PATCH\] video: fbdev: add the dependency of broadsheetfb in Kconfig

- From: Bartlomiej Zolnierkiewicz \<hidden\>
- Date: 2018-10-08 10:18:08 
- Message: https://ratatoskr.run/linux-fbdev/2018/10/5401600.md

```text

On 07/27/2018 10:12 AM, Jia-Ju Bai wrote:
> broadsheetfb is a platform driver and it should not be used on x86.
> It should be used only by single ARM PXA board, so adding the 
> dependency in Kconfig.
> 
> Signed-off-by: Jia-Ju Bai <redacted>

Patch queued for 4.20, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
```
