[PATCH 1/2] Input: matrix-keypad - remove const from pointer to array of gpios

Dmitry Torokhov dmitry.torokhov at gmail.com
Sat Oct 20 10:00:59 EST 2012


On Fri, Oct 19, 2012 at 12:36:12PM +0530, AnilKumar Ch wrote:
> 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.

Then don't. Set them up via non-const aliases instead.

Thanks.

-- 
Dmitry


More information about the devicetree-discuss mailing list