drm/kms: fix kms helper license + Kconfig
Allow the KMS module to work properly, and also rename
it to KMS_HELPER so its clearer what its for.
Signed-off-by: Dave Airlie <airlied@redhat.com>
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 8c73091..d42cf54 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -18,12 +18,13 @@
details. You should also select and configure AGP
(/dev/agpgart) support.
-config DRM_MODE_HELPER
+config DRM_KMS_HELPER
tristate
depends on DRM
select FB
+ select FRAMEBUFFER_CONSOLE if !EMBEDDED
help
- FB and CRTC helpers for kms drivers.
+ FB and CRTC helpers for KMS drivers.
config DRM_TTM
tristate
@@ -90,11 +91,10 @@
config DRM_I915
tristate "i915 driver"
depends on AGP_INTEL
- select DRM_MODE_HELPER
+ select DRM_KMS_HELPER
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT
- select FRAMEBUFFER_CONSOLE if !EMBEDDED
# i915 depends on ACPI_VIDEO when ACPI is enabled
# but for select to work, need to select ACPI_VIDEO's dependencies, ick
select VIDEO_OUTPUT_CONTROL if ACPI