[PATCH 02/10] drm/r128: clean up: create a separate Kconfig file

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


Remove the DRM_R128 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/r128/Kconfig | 8 ++++++++
 2 files changed, 9 insertions(+), 8 deletions(-)
 create mode 100644 drivers/gpu/drm/r128/Kconfig

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 3f3328b..fc9d65d 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -83,14 +83,7 @@ source "drivers/gpu/drm/bridge/Kconfig"
 
 source "drivers/gpu/drm/tdfx/Kconfig"
 
-config DRM_R128
-	tristate "ATI Rage 128"
-	depends on DRM && PCI
-	select FW_LOADER
-	help
-	  Choose this option if you have an ATI Rage 128 graphics card.  If M
-	  is selected, the module will be called r128.  AGP support for
-	  this card is strongly suggested (unless you have a PCI version).
+source "drivers/gpu/drm/r128/Kconfig"
 
 config DRM_RADEON
 	tristate "ATI Radeon"
diff --git a/drivers/gpu/drm/r128/Kconfig b/drivers/gpu/drm/r128/Kconfig
new file mode 100644
index 0000000..3c1ae88
--- /dev/null
+++ b/drivers/gpu/drm/r128/Kconfig
@@ -0,0 +1,8 @@
+config DRM_R128
+	tristate "ATI Rage 128"
+	depends on DRM && PCI
+	select FW_LOADER
+	help
+	  Choose this option if you have an ATI Rage 128 graphics card.  If M
+	  is selected, the module will be called r128.  AGP support for
+	  this card is strongly suggested (unless you have a PCI version).
-- 
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