[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1329329299-5138-1-git-send-email-gulyan89@yahoo.com>
Date: Wed, 15 Feb 2012 20:08:19 +0200
From: Alexandru Guduleasa <alexandru.guduleasa@...il.com>
To: greg@...ah.com
Cc: swetland@...gle.com, linux-kernel@...r.kernel.org,
devel@...verdev.osuosl.org,
Alexandru Guduleasa <gulyan89@...oo.com>
Subject: [PATCH] Staging: android: ashmem: fixed coding style isue
Remove trailing whitespace.
Add const keyword.
Signed-off-by: Alexandru Guduleasa <gulyan89@...oo.com>
---
drivers/staging/android/ashmem.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c
index 99052bf..9f1f27e 100644
--- a/drivers/staging/android/ashmem.c
+++ b/drivers/staging/android/ashmem.c
@@ -315,7 +315,7 @@ static int ashmem_mmap(struct file *file, struct vm_area_struct *vma)
get_file(asma->file);
/*
- * XXX - Reworked to use shmem_zero_setup() instead of
+ * XXX - Reworked to use shmem_zero_setup() instead of
* shmem_set_file while we're in staging. -jstultz
*/
if (vma->vm_flags & VM_SHARED) {
@@ -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 = {
+static const struct file_operations ashmem_fops = {
.owner = THIS_MODULE,
.open = ashmem_open,
.release = ashmem_release,
--
1.7.5.4
--
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