[PATCH] mx25: fix typo in memory size selector for keypad driver

joancarles joancarles at fqingenieria.es
Thu Apr 5 09:43:17 EDT 2012


While adding support for the keypad platform driver on a custom device, 
I have found a small inconsistency in the memory region setup for the 
keypad driver for MX25 based devices. Attached is a patch to address 
this typo. Please review
and stage for mainline inclusion in the next round of mx25 fixes.

Signed-off-by: Joan Carles <joancarles at fqingenieria.es>
Signed-off-by: Roberto Nibali <rnibali at gmail.com>
---
  arch/arm/plat-mxc/devices/platform-imx-keypad.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/plat-mxc/devices/platform-imx-keypad.c 
b/arch/arm/plat-mxc/devices/platform-imx-keypad.c
index 479c3e9..4645f21 100644
--- a/arch/arm/plat-mxc/devices/platform-imx-keypad.c
+++ b/arch/arm/plat-mxc/devices/platform-imx-keypad.c
@@ -23,7 +23,7 @@ const struct imx_imx_keypad_data 
imx21_imx_keypad_data __initconst =

  #ifdef CONFIG_SOC_IMX25
  const struct imx_imx_keypad_data imx25_imx_keypad_data __initconst =
-	imx_imx_keypad_data_entry_single(MX25, SZ_16K);
+	imx_imx_keypad_data_entry_single(MX25, SZ_16);
  #endif /* ifdef CONFIG_SOC_IMX25 */

  #ifdef CONFIG_SOC_IMX27
-- 
1.7.4.1

-- 
Joan C. Abelaira



More information about the linux-arm-kernel mailing list