[PATCH] fbdev: Make jz4740-fb depends on MACH_JZ4740

From: Lars-Peter Clausen
Date: Mon Jul 26 2010 - 22:33:41 EST


The jz4740-fb driver should only be selectabed of MACH_JZ4740 is selected.

Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
---
drivers/video/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index a42cb9b..9e711a1 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -2231,7 +2231,7 @@ config FB_BROADSHEET

config FB_JZ4740
tristate "JZ4740 LCD framebuffer support"
- depends on FB
+ depends on FB && MACH_JZ4740
select FB_SYS_FILLRECT
select FB_SYS_COPYAREA
select FB_SYS_IMAGEBLIT
--
1.5.6.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/