# \[PATCH 01/19\] s3c-fb: Change to depending on CONFIG\_S3C\_FB\_DEV

- From: Pawel Osciak \<hidden\>
- Date: 2010-07-09 08:49:49 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2010/07/8552444
- Thread: https://ratatoskr.run/linux-arm-kernel/2010/07/8552447/t.md

```text
From: Ben Dooks <ben-linux@fluff.org>

As suggested by Marek Szyprowski, we should make the driver depend on
the configuration currently being used to build the platform device
into the kernel.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Pawel Osciak <redacted>
---
 drivers/video/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 3d94a14..858f1ca 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -1930,7 +1930,7 @@ config FB_TMIO_ACCELL
 
 config FB_S3C
 	tristate "Samsung S3C framebuffer support"
-	depends on FB && ARCH_S3C64XX
+	depends on FB && S3C_DEV_FB
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
-- 
1.7.1.569.g6f426
```
