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 @@
#include <linux/proc_fs.h>
#include <asm/uaccess.h>
#define CPUFREQ_ALL_CPUS ((NR_CPUS))
/**
* cpufreq_parse_policy - parse a policy string
* @input_string: the string to parse.
......@@ -164,7 +161,7 @@ static int cpufreq_proc_read (
*/
static int cpufreq_proc_write (
struct file *file,
const char *buffer,
const char __user *buffer,
unsigned long count,
void *data)
{
......
......@@ -24,6 +24,7 @@
#define CPUFREQ_NAME_LEN 16
#define CPUFREQ_ALL_CPUS ((NR_CPUS))
/*********************************************************************
* 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