mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] imx53: implement imx53_add_kpp
@ 2012-11-15 10:51 Christian Kapeller
  2012-11-19 10:32 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Kapeller @ 2012-11-15 10:51 UTC (permalink / raw)
  To: barebox

Allows usage of imx keypad driver in imx53 platforms

---
 arch/arm/mach-imx/include/mach/devices-imx53.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-imx/include/mach/devices-imx53.h b/arch/arm/mach-imx/include/mach/devices-imx53.h
index 5f967ea..6692396 100644
--- a/arch/arm/mach-imx/include/mach/devices-imx53.h
+++ b/arch/arm/mach-imx/include/mach/devices-imx53.h
@@ -82,3 +82,8 @@ static inline struct device_d *imx53_add_nand(struct imx_nand_platform_data *pda
 
 	return dev;
 }
+
+static inline struct device_d *imx53_add_kpp(struct matrix_keymap_data *pdata)
+{
+	return imx_add_kpp((void *)MX53_KPP_BASE_ADDR, pdata);
+}
-- 
1.7.5.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-19 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-15 10:51 [PATCH] imx53: implement imx53_add_kpp Christian Kapeller
2012-11-19 10:32 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox