Remove the DRM_TDFX 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      | 7 +------
 drivers/gpu/drm/tdfx/Kconfig | 6 ++++++
 2 files changed, 7 insertions(+), 6 deletions(-)
 create mode 100644 drivers/gpu/drm/tdfx/Kconfig

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index c46ca31..3f3328b 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -81,12 +81,7 @@ source "drivers/gpu/drm/i2c/Kconfig"

 source "drivers/gpu/drm/bridge/Kconfig"

-config DRM_TDFX
-       tristate "3dfx Banshee/Voodoo3+"
-       depends on DRM && PCI
-       help
-         Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
-         graphics card.  If M is selected, the module will be called tdfx.
+source "drivers/gpu/drm/tdfx/Kconfig"

 config DRM_R128
        tristate "ATI Rage 128"
diff --git a/drivers/gpu/drm/tdfx/Kconfig b/drivers/gpu/drm/tdfx/Kconfig
new file mode 100644
index 0000000..a9e26ad
--- /dev/null
+++ b/drivers/gpu/drm/tdfx/Kconfig
@@ -0,0 +1,6 @@
+config DRM_TDFX
+       tristate "3dfx Banshee/Voodoo3+"
+       depends on DRM && PCI
+       help
+         Choose this option if you have a 3dfx Banshee or Voodoo3 (or later),
+         graphics card.  If M is selected, the module will be called tdfx.
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

Reply via email to