diff mbox

[05/10] drm/i810: clean up: create a separate Kconfig file

Message ID 1436769393-3836-6-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_I810 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      | 9 +--------
 drivers/gpu/drm/i810/Kconfig | 8 ++++++++
 2 files changed, 9 insertions(+), 8 deletions(-)
 create mode 100644 drivers/gpu/drm/i810/Kconfig
diff mbox

Patch

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 5641a9a..b7e694c 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -91,14 +91,7 @@  source "drivers/gpu/drm/amd/amdgpu/Kconfig"
 
 source "drivers/gpu/drm/nouveau/Kconfig"
 
-config DRM_I810
-	tristate "Intel I810"
-	# !PREEMPT because of missing ioctl locking
-	depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
-	help
-	  Choose this option if you have an Intel I810 graphics card.  If M is
-	  selected, the module will be called i810.  AGP support is required
-	  for this driver to work.
+source "drivers/gpu/drm/i810/Kconfig"
 
 source "drivers/gpu/drm/i915/Kconfig"
 
diff --git a/drivers/gpu/drm/i810/Kconfig b/drivers/gpu/drm/i810/Kconfig
new file mode 100644
index 0000000..71ba73a
--- /dev/null
+++ b/drivers/gpu/drm/i810/Kconfig
@@ -0,0 +1,8 @@ 
+config DRM_I810
+	tristate "Intel I810"
+	# !PREEMPT because of missing ioctl locking
+	depends on DRM && AGP && AGP_INTEL && (!PREEMPT || BROKEN)
+	help
+	  Choose this option if you have an Intel I810 graphics card.  If M is
+	  selected, the module will be called i810.  AGP support is required
+	  for this driver to work.