[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120120224332.4671e94c@pyramind.ukuu.org.uk>
Date: Fri, 20 Jan 2012 22:43:32 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Kashyap Gada <gada.kashyap@...il.com>
Cc: gregkh@...e.de, john.stultz@...aro.org, arve@...roid.com,
ccross@...roid.com, bringert@...roid.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [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@...il.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 ?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists