Commit 47717033 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[CPUFREQ] Fix PPC compilation failure.

parent bc412382
...@@ -12,9 +12,6 @@ ...@@ -12,9 +12,6 @@
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#define CPUFREQ_ALL_CPUS ((NR_CPUS))
/** /**
* cpufreq_parse_policy - parse a policy string * cpufreq_parse_policy - parse a policy string
* @input_string: the string to parse. * @input_string: the string to parse.
...@@ -164,7 +161,7 @@ static int cpufreq_proc_read ( ...@@ -164,7 +161,7 @@ static int cpufreq_proc_read (
*/ */
static int cpufreq_proc_write ( static int cpufreq_proc_write (
struct file *file, struct file *file,
const char *buffer, const char __user *buffer,
unsigned long count, unsigned long count,
void *data) void *data)
{ {
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#define CPUFREQ_NAME_LEN 16 #define CPUFREQ_NAME_LEN 16
#define CPUFREQ_ALL_CPUS ((NR_CPUS))
/********************************************************************* /*********************************************************************
* CPUFREQ NOTIFIER INTERFACE * * CPUFREQ NOTIFIER INTERFACE *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment