Staging: dream: pmem.c: Fix checkpatch.pl issues.
This patch resolves checkpatch.pl issues in the pmem.c file. Signed-off-by: Nanakos Chrysostomos <nanakos@wired-net.gr> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
231ded903f
commit
ef079a76fe
@ -24,8 +24,8 @@
|
||||
#include <linux/mempolicy.h>
|
||||
#include <linux/sched.h>
|
||||
#include <linux/slab.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <asm/cacheflush.h>
|
||||
|
||||
#define PMEM_MAX_DEVICES 10
|
||||
@ -175,7 +175,7 @@ static int pmem_mmap(struct file *, struct vm_area_struct *);
|
||||
static int pmem_open(struct inode *, struct file *);
|
||||
static long pmem_ioctl(struct file *, unsigned int, unsigned long);
|
||||
|
||||
struct file_operations pmem_fops = {
|
||||
const struct file_operations pmem_fops = {
|
||||
.release = pmem_release,
|
||||
.mmap = pmem_mmap,
|
||||
.open = pmem_open,
|
||||
|
Loading…
Reference in New Issue
Block a user