diff options
author | Tracey Dent <tdent48227@gmail.com> | 2012-01-22 21:28:44 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-08 16:47:51 -0800 |
commit | aa5af974127d317071d6225a0f3678c5f520e7ce (patch) | |
tree | 3319904765f45efae91ae33b3d97a738844b2889 /drivers/staging/android/ashmem.c | |
parent | 8d438bef6556315a23781fd673f13f7bfb94047d (diff) | |
download | op-kernel-dev-aa5af974127d317071d6225a0f3678c5f520e7ce.zip op-kernel-dev-aa5af974127d317071d6225a0f3678c5f520e7ce.tar.gz |
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>
Diffstat (limited to 'drivers/staging/android/ashmem.c')
-rw-r--r-- | drivers/staging/android/ashmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c index 99052bf..9f1f27e 100644 --- a/drivers/staging/android/ashmem.c +++ b/drivers/staging/android/ashmem.c @@ -315,7 +315,7 @@ static int ashmem_mmap(struct file *file, struct vm_area_struct *vma) get_file(asma->file); /* - * XXX - Reworked to use shmem_zero_setup() instead of + * XXX - Reworked to use shmem_zero_setup() instead of * shmem_set_file while we're in staging. -jstultz */ if (vma->vm_flags & VM_SHARED) { @@ -680,7 +680,7 @@ static long ashmem_ioctl(struct file *file, unsigned int cmd, unsigned long arg) return ret; } -static struct file_operations ashmem_fops = { +static const struct file_operations ashmem_fops = { .owner = THIS_MODULE, .open = ashmem_open, .release = ashmem_release, |