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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux