lkml.org 
[lkml]   [2012]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH 2/2] Staging: android: Fix struct definition warning from static to const
On Fri, 20 Jan 2012 21:33:17 +0000
Kashyap Gada <gada.kashyap@gmail.com> wrote:

> diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c
> index b4bc03e..4a00174a5 100644
> --- a/drivers/staging/android/ashmem.c
> +++ b/drivers/staging/android/ashmem.c
> @@ -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 = {
> +const struct file_operations ashmem_fops = {

You've lost the static ?


\
 
 \ /
  Last update: 2012-01-20 23:45    [W:0.031 / U:2.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site