[PATCH 07/10] drm/sis: clean up: create a separate Kconfig file

Archit Taneja architt at codeaurora.org
Sun Jul 12 23:36:30 PDT 2015


Remove the DRM_SIS config option from the top level drm Kconfig file
and create a new Kconfig file within the driver folder.

Signed-off-by: Archit Taneja <architt at codeaurora.org>
---
 drivers/gpu/drm/Kconfig     | 9 +--------
 drivers/gpu/drm/sis/Kconfig | 8 ++++++++
 2 files changed, 9 insertions(+), 8 deletions(-)
 create mode 100644 drivers/gpu/drm/sis/Kconfig

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 198cb75..4b178a3 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -97,14 +97,7 @@ source "drivers/gpu/drm/i915/Kconfig"
 
 source "drivers/gpu/drm/mga/Kconfig"
 
-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
-          support is required for this driver to work.
+source "drivers/gpu/drm/sis/Kconfig"
 
 config DRM_VIA
 	tristate "Via unichrome video cards"
diff --git a/drivers/gpu/drm/sis/Kconfig b/drivers/gpu/drm/sis/Kconfig
new file mode 100644
index 0000000..8ad0276
--- /dev/null
+++ b/drivers/gpu/drm/sis/Kconfig
@@ -0,0 +1,8 @@
+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
+          support is required for this driver to work.
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation



More information about the dri-devel mailing list