summaryrefslogtreecommitdiff
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorDave Jones <davej@codemonkey.org.uk>2003-06-05 19:10:13 +0100
committerDave Jones <davej@codemonkey.org.uk>2003-06-05 19:10:13 +0100
commitfcb1f22e3d5c8d4a217c5904d30d3cf384b10ccf (patch)
tree1adeab23e0987128ee6b73d918cef9de7188285b /drivers/cpufreq
parentd347dfcad44c2c5011241676e2109c6150259b47 (diff)
[CPUFREQ] kill cpufreq_driver export.
From Dominik Brodowski. This removes the special export of cpufreq_driver for proc_intf.c. Instead, the behaviour of /proc/cpufreq previous of Greg's class re-write is back: the check whether cpufreq_driver is loaded is done within cpufreq_cpu_get
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r--drivers/cpufreq/proc_intf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/cpufreq/proc_intf.c b/drivers/cpufreq/proc_intf.c
index 253dab930b06..dc89b83710b8 100644
--- a/drivers/cpufreq/proc_intf.c
+++ b/drivers/cpufreq/proc_intf.c
@@ -209,10 +209,7 @@ static int __init cpufreq_proc_init (void)
{
struct proc_dir_entry *entry = NULL;
- if (!cpufreq_driver)
- return -ENODEV;
-
- /* are these acceptable values? */
+ /* are these acceptable values? */
entry = create_proc_entry("cpufreq", S_IFREG|S_IRUGO|S_IWUSR,
&proc_root);