diff options
| author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-04-12 18:52:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-04-12 18:52:00 -0700 |
| commit | 9515fdf192fee0ff2fc1bd4a277ee952fb9b13d5 (patch) | |
| tree | 03d3b7462f868cda0226e1bb42af1f177fc83cab /include/linux | |
| parent | f48c54a39e3d709f0e6072c4d9c7eb43ae01f1da (diff) | |
| parent | 2aebc5b195bc00aa5e09c10dec3a4a5fdb9ba21b (diff) | |
Merge bk://linux-dj.bkbits.net/cpufreq
into ppc970.osdl.org:/home/torvalds/v2.6/linux
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/cpufreq.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 3a8e279897ed..f48a064221b4 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@ -175,6 +175,7 @@ struct freq_attr; struct cpufreq_driver { struct module *owner; char name[CPUFREQ_NAME_LEN]; + u8 flags; /* needed by all drivers */ int (*init) (struct cpufreq_policy *policy); @@ -192,6 +193,11 @@ struct cpufreq_driver { struct freq_attr **attr; }; +/* flags */ + +#define CPUFREQ_STICKY 0x01 /* the driver isn't removed even if + all ->init() calls failed */ + int cpufreq_register_driver(struct cpufreq_driver *driver_data); int cpufreq_unregister_driver(struct cpufreq_driver *driver_data); |
