compat-drivers: Rename CONFIG_DRM_RADEON_KMS
authorOzan Çağlayan <ozancag@gmail.com>
Sun, 28 Oct 2012 17:55:43 +0000 (19:55 +0200)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Sun, 4 Nov 2012 17:25:14 +0000 (09:25 -0800)
Prefix it with CONFIG_COMPAT_ to allow setting it correctly.

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
patches/drm/06-rename-config-options.patch

index ad605ab19ee8d61c7445182234ee541bcc02881d..4d2cf72625c6ac6ef1542aa45a4ca6f168ccb619 100644 (file)
        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