Skip to content
Permalink
Browse files
Staging: android: ashmem: changed struct file_operations to const fil…
…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 1496e5f2103cc6f96af90aaf323cf92f018dcf41
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 file_operations vmfile_fops;
struct ashmem_area *asma = file->private_data;
int ret = 0;

0 comments on commit 1496e5f

Please sign in to comment.