Skip to content

Commit

Permalink
Staging: android: ashmem: changed struct file_operations to const fil…
Browse files Browse the repository at this point in the history
…e_operations

Fixed a coding style issue.

Signed-off-by: Kiran Surendran <kirank.suren@gmail.com>
  • Loading branch information
kiransuren authored and intel-lab-lkp committed Oct 16, 2020
1 parent 726eb70 commit 1496e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/android/ashmem.c
Expand Up @@ -376,7 +376,7 @@ ashmem_vmfile_get_unmapped_area(struct file *file, unsigned long addr,

static int ashmem_mmap(struct file *file, struct vm_area_struct *vma)
{
static struct file_operations vmfile_fops;
static const file_operations vmfile_fops;
struct ashmem_area *asma = file->private_data;
int ret = 0;

Expand Down

0 comments on commit 1496e5f

Please sign in to comment.