[Pommed-commits] [SCM] pommed - hotkeys handler for Apple laptops branch, master, updated. 1.37-5-g6ce3549

Julien BLACHE jb at jblache.org
Sun Mar 13 18:22:18 UTC 2011


The following commit has been merged in the master branch:
commit 6ce35490423625a69198bccef60d51a2aac54eed
Author: Julien BLACHE <jb at jblache.org>
Date:   Sun Mar 13 19:19:55 2011 +0100

    Fixup nvidia backlight drivers order
    
    For consistency, after commit 7c965fafc35e2ae356e886ed8f631a573c5ba81b

diff --git a/pommed/sysfs_backlight.c b/pommed/sysfs_backlight.c
index 348c17c..c608ccc 100644
--- a/pommed/sysfs_backlight.c
+++ b/pommed/sysfs_backlight.c
@@ -43,8 +43,8 @@ enum {
   SYSFS_DRIVER_RIVA,
 #else
   SYSFS_DRIVER_MBP,
-  SYSFS_DRIVER_NOUVEAU,
   SYSFS_DRIVER_NVIDIA,
+  SYSFS_DRIVER_NOUVEAU,
   SYSFS_DRIVER_ACPI,
 #endif
 };
@@ -414,12 +414,12 @@ mbp_sysfs_backlight_probe(void)
   if (ret == 0)
     return 0;
 
-  ret = sysfs_backlight_probe(SYSFS_DRIVER_NOUVEAU);
+  ret = sysfs_backlight_probe(SYSFS_DRIVER_NVIDIA);
 
   if (ret == 0)
     return 0;
 
-  ret = sysfs_backlight_probe(SYSFS_DRIVER_NVIDIA);
+  ret = sysfs_backlight_probe(SYSFS_DRIVER_NOUVEAU);
 
   if (ret == 0)
     return 0;

-- 
pommed - hotkeys handler for Apple laptops



More information about the Pommed-commits mailing list