[PATCH 1/3] compat-drivers: Rename CONFIG_DRM_RADEON_KMS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Prefix it with CONFIG_COMPAT_ to allow setting it correctly.

Signed-off-by: Ozan Çağlayan <ozancag@xxxxxxxxx>
---
 patches/drm/06-rename-config-options.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/patches/drm/06-rename-config-options.patch b/patches/drm/06-rename-config-options.patch
index ad605ab..4d2cf72 100644
--- a/patches/drm/06-rename-config-options.patch
+++ b/patches/drm/06-rename-config-options.patch
@@ -107,3 +107,23 @@
  	count = drm_load_edid_firmware(connector);
  	if (count == 0)
  #endif
+--- a/drivers/gpu/drm/radeon/radeon_drv.c	2012-10-28 19:17:02.738091628 +0200
++++ b/drivers/gpu/drm/radeon/radeon_drv.c	2012-10-28 19:17:27.429558561 +0200
+@@ -226,7 +226,7 @@
+ 	radeon_PCI_IDS
+ };
+ 
+-#if defined(CONFIG_DRM_RADEON_KMS)
++#if defined(CONFIG_COMPAT_DRM_RADEON_KMS)
+ MODULE_DEVICE_TABLE(pci, pciidlist);
+ #endif
+ 
+@@ -431,7 +431,7 @@
+ #endif
+ 	/* if enabled by default */
+ 	if (radeon_modeset == -1) {
+-#ifdef CONFIG_DRM_RADEON_KMS
++#ifdef CONFIG_COMPAT_DRM_RADEON_KMS
+ 		DRM_INFO("radeon defaulting to kernel modesetting.\n");
+ 		radeon_modeset = 1;
+ #else
-- 
1.7.11.7

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux