[RFC: -next patch] don't allow FB_SIS=m, DRM_SIS=y

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adrian Bunk
Date: Wednesday, August 13, 2008 - 2:57 pm

On Tue, Aug 12, 2008 at 10:37:00PM +0100, Dave Airlie wrote:

I assume FB_SIS=y, DRM_SIS=m should still be possible?

If this assumption is correct the fix is below.


cu
Adrian


<--  snip  -->


FB_SIS=m, DRM_SIS=y is not a legal configuration.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
c303119b9561e13be97f3d4b0d7eaa6930fc21d8 
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 610d6fd..bf9003e 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -87,6 +87,7 @@ config DRM_MGA
 config DRM_SIS
 	tristate "SiS video cards"
 	depends on DRM && AGP
+	depends on FB_SIS || FB_SIS=n
 	help
 	  Choose this option if you have a SiS 630 or compatible video
           chipset. If M is selected the module will be called sis. AGP

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH -next] drm: sis depends on FB_SIS, Randy Dunlap, (Thu Aug 7, 8:32 am)
Re: [PATCH -next] drm: sis depends on FB_SIS, Dave Airlie, (Thu Aug 7, 4:09 pm)
Re: [PATCH -next] drm: sis depends on FB_SIS, Randy Dunlap, (Thu Aug 7, 5:55 pm)
Re: [PATCH -next] drm: sis depends on FB_SIS, Dave Airlie, (Thu Aug 7, 7:11 pm)
Re: [PATCH -next] drm: sis depends on FB_SIS, Adrian Bunk, (Tue Aug 12, 5:59 am)
Re: [PATCH -next] drm: sis depends on FB_SIS, Dave Airlie, (Tue Aug 12, 2:37 pm)
[RFC: -next patch] don't allow FB_SIS=m, DRM_SIS=y, Adrian Bunk, (Wed Aug 13, 2:57 pm)
Re: [RFC: -next patch] don't allow FB_SIS=m, DRM_SIS=y, Randy Dunlap, (Tue Aug 19, 3:31 pm)