diff mbox

[09/10] drm/savage: clean up: create a separate Kconfig file

Message ID 1436769393-3836-10-git-send-email-architt@codeaurora.org (mailing list archive)
State Not Applicable, archived
Delegated to: Andy Gross
Headers show

Commit Message

Archit Taneja July 13, 2015, 6:36 a.m. UTC
Remove the DRM_SAVAGE 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@codeaurora.org>
---
 drivers/gpu/drm/Kconfig        | 8 +-------
 drivers/gpu/drm/savage/Kconfig | 7 +++++++
 2 files changed, 8 insertions(+), 7 deletions(-)
 create mode 100644 drivers/gpu/drm/savage/Kconfig
diff mbox

Patch

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index de11dc2..f026ed8 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -101,13 +101,6 @@  source "drivers/gpu/drm/sis/Kconfig"
 
 source "drivers/gpu/drm/via/Kconfig"
 
-config DRM_SAVAGE
-	tristate "Savage video cards"
-	depends on DRM && PCI
-	help
-	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
-	  chipset. If M is selected the module will be called savage.
-
 config DRM_VGEM
 	tristate "Virtual GEM provider"
 	depends on DRM
@@ -116,6 +109,7 @@  config DRM_VGEM
 	  as used by Mesa's software renderer for enhanced performance.
 	  If M is selected the module will be called vgem.
 
+source "drivers/gpu/drm/savage/Kconfig"
 
 source "drivers/gpu/drm/exynos/Kconfig"
 
diff --git a/drivers/gpu/drm/savage/Kconfig b/drivers/gpu/drm/savage/Kconfig
new file mode 100644
index 0000000..7e19b9a
--- /dev/null
+++ b/drivers/gpu/drm/savage/Kconfig
@@ -0,0 +1,7 @@ 
+config DRM_SAVAGE
+	tristate "Savage video cards"
+	depends on DRM && PCI
+	help
+	  Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
+	  chipset. If M is selected the module will be called savage.
+