kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Remove const keyword from matrix_keypad.c
@ 2011-09-25 10:44 Navin P
  0 siblings, 0 replies; only message in thread
From: Navin P @ 2011-09-25 10:44 UTC (permalink / raw)
  To: linux-kernel; +Cc: marek.vasut, kernel-janitors

 Remove the const keyword as SIMPLE_DEV_PMS_OPS already defines a const struct.
 Signed-off-by: Navin P <zicrim@gmail.com>

---
 drivers/input/keyboard/matrix_keypad.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/input/keyboard/matrix_keypad.c b/drivers/input/keyboard/matrix_keypad.c
index b02e426..c127658 100644
--- a/drivers/input/keyboard/matrix_keypad.c
+++ b/drivers/input/keyboard/matrix_keypad.c
@@ -294,7 +294,7 @@ static int matrix_keypad_resume(struct device *dev)
 	return 0;
 }
 
-static const SIMPLE_DEV_PM_OPS(matrix_keypad_pm_ops,
+static SIMPLE_DEV_PM_OPS(matrix_keypad_pm_ops,
 				matrix_keypad_suspend, matrix_keypad_resume);
 #endif
 
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-25 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-25 10:44 [PATCH] Remove const keyword from matrix_keypad.c Navin P

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).