From: Kashyap Gada <gada.kashyap@gmail.com>
To: gregkh@suse.de
Cc: john.stultz@linaro.org, arve@android.com, ccross@android.com,
bringert@android.com, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org,
Kashyap Gada <gada.kashyap@gmail.com>
Subject: [PATCH 2/2] Staging: android: Fix struct definition warning from static to const
Date: Fri, 20 Jan 2012 21:33:17 +0000 [thread overview]
Message-ID: <1327095198-15970-1-git-send-email-gada.kashyap@gmail.com> (raw)
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 = {
.owner = THIS_MODULE,
.open = ashmem_open,
.release = ashmem_release,
--
1.7.5.4
next reply other threads:[~2012-01-20 21:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-20 21:33 Kashyap Gada [this message]
2012-01-20 22:43 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1327095198-15970-1-git-send-email-gada.kashyap@gmail.com \
--to=gada.kashyap@gmail.com \
--cc=arve@android.com \
--cc=bringert@android.com \
--cc=ccross@android.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@suse.de \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®