X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fcpufreq.h;h=ff7f80f48df1ba2fb87b1fac151d826532b2867d;hb=6d1d07e41a1de478a0da3cc14b4a8054ef09931c;hp=f21af067d015f4cad91e9db214931b2215cd41c2;hpb=42d4dc3f4e1ec1396371aac89d0dccfdd977191b;p=linux-2.6 diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index f21af067d0..ff7f80f48d 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -49,7 +49,7 @@ int cpufreq_unregister_notifier(struct notifier_block *nb, unsigned int list); /* Frequency values here are CPU kHz so that hardware which doesn't run * with some frequencies can complain without having to guess what per * cent / per mille means. - * Maximum transition latency is in microseconds - if it's unknown, + * Maximum transition latency is in nanoseconds - if it's unknown, * CPUFREQ_ETERNAL shall be used. */ @@ -201,7 +201,7 @@ struct cpufreq_driver { /* optional */ int (*exit) (struct cpufreq_policy *policy); - int (*suspend) (struct cpufreq_policy *policy, u32 state); + int (*suspend) (struct cpufreq_policy *policy, pm_message_t pmsg); int (*resume) (struct cpufreq_policy *policy); struct freq_attr **attr; };