From: Ben Dooks Date: Wed, 11 Aug 2010 01:02:30 +0000 (-0700) Subject: s3c-fb: change to depending on CONFIG_S3C_FB_DEV X-Git-Tag: v2.6.36-rc1~185 X-Git-Url: https://bbs.cooldavid.org/git/?a=commitdiff_plain;h=45649fdb54c2e3feb59a8648608ed601511f2098;p=net-next-2.6.git s3c-fb: change to depending on CONFIG_S3C_FB_DEV 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 Signed-off-by: Pawel Osciak Cc: InKi Dae Cc: KyungMin Park Cc: Marek Szyprowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index a9ca72f301b..c9d4de2dd53 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -1931,7 +1931,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