From: Fabio Estevam Date: Wed, 1 Dec 2010 13:11:47 +0000 (-0200) Subject: ARM: mx5: dynamically allocate imx-keypad devices X-Git-Tag: v2.6.38-rc1~38^2~3^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5fcfef0b8db574098f2e42827117bc4accf2efd;p=pandora-kernel.git ARM: mx5: dynamically allocate imx-keypad devices Add support for dynamical allocation of imx-keypad on mx5 platform. After moving to dynamically registration of the keypad, the keypad clock name needs to change accordingly. The reason is that the original mx5 keypad platform_device id was 0, now we use id=-1 as per arch/arm/plat-mxc/devices/platform-imx-keypad.c. Tested keypad successfully on a MX51_3DS board. Signed-off-by: Fabio Estevam Signed-off-by: Sascha Hauer --- Reading git-diff-tree failed