diff options
author | Dinh Nguyen <Dinh.Nguyen@freescale.com> | 2010-10-23 09:12:47 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-26 16:24:05 +0200 |
commit | f2d36ecbca2f7a4cde2821a8a70f6f799442e33f (patch) | |
tree | 5ba7258948b160dc167b38aa9857979a1dbd3d49 /arch/arm/mach-mx5/devices-imx51.h | |
parent | 47c5382287c863473ac2c11d18d6f4100e9dd5b8 (diff) | |
download | op-kernel-dev-f2d36ecbca2f7a4cde2821a8a70f6f799442e33f.zip op-kernel-dev-f2d36ecbca2f7a4cde2821a8a70f6f799442e33f.tar.gz |
ARM: mx5: Add gpio-keys to mx51 babbage board
Add functionality for the power button on MX51 Babbage board.
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/devices-imx51.h')
-rw-r--r-- | arch/arm/mach-mx5/devices-imx51.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/devices-imx51.h b/arch/arm/mach-mx5/devices-imx51.h index 5cc910e..8c50cb5 100644 --- a/arch/arm/mach-mx5/devices-imx51.h +++ b/arch/arm/mach-mx5/devices-imx51.h @@ -13,6 +13,8 @@ extern const struct imx_fec_data imx51_fec_data __initconst; #define imx51_add_fec(pdata) \ imx_add_fec(&imx51_fec_data, pdata) +#define imx51_add_gpio_keys(pdata) imx_add_gpio_keys(pdata) + extern const struct imx_imx_i2c_data imx51_imx_i2c_data[] __initconst; #define imx51_add_imx_i2c(id, pdata) \ imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata) |