drivers/staging/android/ashmem.c: Cleanups
Minor cleanups that consist of removal of a whitespace and make file_operations const. Signed-off-by: Tracey Dent <tdent48227@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8d438bef65
commit
aa5af97412
@ -680,7 +680,7 @@ static long ashmem_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct file_operations ashmem_fops = {
|
static const struct file_operations ashmem_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.open = ashmem_open,
|
.open = ashmem_open,
|
||||||
.release = ashmem_release,
|
.release = ashmem_release,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user