Skip to content
Permalink
Browse files
staging: android: ashmem: Declared file operation with const keyword
Warning found by checkpatch.pl script

Signed-off-by: Thais Camacho <thaiscamachoo@gmail.com>
  • Loading branch information
thaisacs authored and intel-lab-lkp committed Feb 14, 2021
1 parent 4eb839a commit 32b5e3c9154f059b60686c16a3c3a316f85b6976
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 struct file_operations vmfile_fops;
struct ashmem_area *asma = file->private_data;
int ret = 0;

0 comments on commit 32b5e3c

Please sign in to comment.