xtensa simdisk: fix braino in "xtensa simdisk: switch to proc_create_data()"

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2013-05-04 16:00:50 -04:00
parent 371fdab100
commit 4fe56e8082
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ static ssize_t proc_read_simdisk(struct file *file, char __user *buf,
} }
static ssize_t proc_write_simdisk(struct file *file, const char __user *buf, static ssize_t proc_write_simdisk(struct file *file, const char __user *buf,
size_t size, loff_t *ppos) size_t count, loff_t *ppos)
{ {
char *tmp = kmalloc(count + 1, GFP_KERNEL); char *tmp = kmalloc(count + 1, GFP_KERNEL);
struct simdisk *dev = PDE_DATA(file_inode(file)); struct simdisk *dev = PDE_DATA(file_inode(file));