linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 4/4] Staging: android: Fix struct definitioni warning from static to const
@ 2012-01-21  2:17 Kashyap Gada
  2012-01-21  8:08 ` Dan Carpenter
  0 siblings, 1 reply; 4+ messages in thread
From: Kashyap Gada @ 2012-01-21  2:17 UTC (permalink / raw)
  To: gregkh
  Cc: john.stultz, arve, ccross, bringert, devel, linux-kernel,
	Kashyap Gada

---
 drivers/staging/android/ashmem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c
index 4a00174a5..9f1f27e 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;
 }
 
-const struct file_operations ashmem_fops = {
+static const struct file_operations ashmem_fops = {
 	.owner = THIS_MODULE,
 	.open = ashmem_open,
 	.release = ashmem_release,
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-21 13:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-21  2:17 [PATCH 4/4] Staging: android: Fix struct definitioni warning from static to const Kashyap Gada
2012-01-21  8:08 ` Dan Carpenter
2012-01-21 12:53   ` Greg KH
     [not found]     ` <CANJXcUaxX8kTArQ3tL4hHnOVAq=yLzLjfMe1CbSi-n-UcW6dEw@mail.gmail.com>
2012-01-21 13:45       ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).