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

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 4b178a3..de11dc2 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -99,12 +99,7 @@ source "drivers/gpu/drm/mga/Kconfig"

 source "drivers/gpu/drm/sis/Kconfig"

-config DRM_VIA
-       tristate "Via unichrome video cards"
-       depends on DRM && PCI
-       help
-         Choose this option if you have a Via unichrome or compatible video
-         chipset. If M is selected the module will be called via.
+source "drivers/gpu/drm/via/Kconfig"

 config DRM_SAVAGE
        tristate "Savage video cards"
diff --git a/drivers/gpu/drm/via/Kconfig b/drivers/gpu/drm/via/Kconfig
new file mode 100644
index 0000000..3206167
--- /dev/null
+++ b/drivers/gpu/drm/via/Kconfig
@@ -0,0 +1,6 @@
+config DRM_VIA
+       tristate "Via unichrome video cards"
+       depends on DRM && PCI
+       help
+         Choose this option if you have a Via unichrome or compatible video
+         chipset. If M is selected the module will be called via.
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

Reply via email to