]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/cpufreq.h
[PATCH] leds: Amstrad Delta LED support
[linux-2.6-omap-h63xx.git] / include / linux / cpufreq.h
index c31650df92412de9c6514e81bc5955e8f8a02dcb..5aa95011f7e641e5f5e7ebfc8228f4fca7b3322b 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef _LINUX_CPUFREQ_H
 #define _LINUX_CPUFREQ_H
 
-#include <linux/config.h>
+#include <linux/mutex.h>
 #include <linux/notifier.h>
 #include <linux/threads.h>
 #include <linux/device.h>
@@ -82,7 +82,7 @@ struct cpufreq_policy {
         unsigned int           policy; /* see above */
        struct cpufreq_governor *governor; /* see below */
 
-       struct semaphore        lock;   /* CPU ->setpolicy or ->target may
+       struct mutex            lock;   /* CPU ->setpolicy or ->target may
                                           only be called once a time */
 
        struct work_struct      update; /* if update_policy() needs to be