Messages in this thread | ![/](/images/icornerl.gif) | | Date | Thu, 6 Mar 2003 01:29:46 +0100 | From | Pavel Machek <> | Subject | Re: [PATCH][RFC] Re: cpufreq: allow user to specify voltage |
| |
Hi!
> Here's my suggestion, (partly) based on something Patrick Mochel suggested > for the passing of attribute files of cpufreq drivers to the cpufreq core: > a NULL-terminated list of device_attributes *attr is passed to the core. And > if attr itself is NULL, no attribute is passed, of course. Using this > approach, this patch against cpufreq-CVS-HEAD adds a file > > /sys/devices/sys/cpu0/scaling_available_freqs (something Carl Thompson > asked for)
Strange, I need
> @@ -166,8 +166,11 @@ > /* optional, for the moment */ > int (*init) (struct cpufreq_policy *policy); > int (*exit) (struct cpufreq_policy *policy); > + struct device_attribute *attr[];
to change this to *attr[99] if I want it to compile... Pavel
-- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |