devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: AnilKumar Ch <anilkumar@ti.com>
To: dmitry.torokhov@gmail.com, grant.likely@secretlab.ca
Cc: rob.herring@calxeda.com, dgdunix@gmail.com,
	linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree-discuss@lists.ozlabs.org,
	AnilKumar Ch <anilkumar@ti.com>
Subject: [PATCH 1/2] Input: matrix-keypad - remove const from pointer to array of gpios
Date: Fri, 19 Oct 2012 12:36:12 +0530	[thread overview]
Message-ID: <1350630373-24279-2-git-send-email-anilkumar@ti.com> (raw)
In-Reply-To: <1350630373-24279-1-git-send-email-anilkumar@ti.com>

Remove const from pointer to array of gpios in matrix_keypad_platform_data
struct. This is required if we update row_gpios and col_gpios based on
device tree data.

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
---
 include/linux/input/matrix_keypad.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/input/matrix_keypad.h b/include/linux/input/matrix_keypad.h
index 5f3aa6b..866124c 100644
--- a/include/linux/input/matrix_keypad.h
+++ b/include/linux/input/matrix_keypad.h
@@ -56,8 +56,8 @@ struct matrix_keymap_data {
 struct matrix_keypad_platform_data {
 	const struct matrix_keymap_data *keymap_data;
 
-	const unsigned int *row_gpios;
-	const unsigned int *col_gpios;
+	unsigned int *row_gpios;
+	unsigned int *col_gpios;
 
 	unsigned int	num_row_gpios;
 	unsigned int	num_col_gpios;
-- 
1.7.9.5


  reply	other threads:[~2012-10-19  7:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-19  7:06 [PATCH 0/2] Input: matrix-keypad - Add device tree support AnilKumar Ch
2012-10-19  7:06 ` AnilKumar Ch [this message]
2012-10-19 23:00   ` [PATCH 1/2] Input: matrix-keypad - remove const from pointer to array of gpios Dmitry Torokhov
2012-10-30 13:08     ` AnilKumar, Chimata
2012-10-19  7:06 ` [PATCH 2/2] Input: matrix-keypad - Add device tree support AnilKumar Ch
2012-10-19 12:57   ` Rob Herring
2012-10-30 13:08     ` AnilKumar, Chimata

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=1350630373-24279-2-git-send-email-anilkumar@ti.com \
    --to=anilkumar@ti.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=dgdunix@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rob.herring@calxeda.com \
    /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;
as well as URLs for NNTP newsgroup(s).