[PATCH 09/10] drm/savage: clean up: create a separate Kconfig file
Archit Taneja
architt at codeaurora.org
Sun Jul 12 23:36:32 PDT 2015
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 at 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 --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.
+
--
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