patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / drivers / pnp / pnpbios / proc.c
index 063ae5e..88fcd16 100644 (file)
@@ -176,7 +176,7 @@ static int proc_read_node(char *buf, char **start, off_t pos,
        return len;
 }
 
-static int proc_write_node(struct file *file, const char *buf,
+static int proc_write_node(struct file *file, const char __user *buf,
                            unsigned long count, void *data)
 {
        struct pnp_bios_node *node;