summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/devices-imx31.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-08-24 19:04:14 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2011-08-24 20:13:34 +0400
commitd5534ba6c783a36332e55036273411f4d14b9af6 (patch)
treeae6492665f28bf731065b8a0286e69cb39c9366b /arch/arm/mach-imx/devices-imx31.h
parent03b20b07be130e44faf29f787c66ce5cce5afb2a (diff)
downloadlinux-d5534ba6c783a36332e55036273411f4d14b9af6.tar.xz
ARM: imx: Define functions for registering PATA
Define functions for registering PATA on MX27/MX31/MX35/MX53. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/devices-imx31.h')
-rw-r--r--arch/arm/mach-imx/devices-imx31.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices-imx31.h b/arch/arm/mach-imx/devices-imx31.h
index dbe940d9c53a..488e241a6db6 100644
--- a/arch/arm/mach-imx/devices-imx31.h
+++ b/arch/arm/mach-imx/devices-imx31.h
@@ -78,3 +78,7 @@ extern const struct imx_spi_imx_data imx31_cspi_data[];
#define imx31_add_spi_imx0(pdata) imx31_add_cspi(0, pdata)
#define imx31_add_spi_imx1(pdata) imx31_add_cspi(1, pdata)
#define imx31_add_spi_imx2(pdata) imx31_add_cspi(2, pdata)
+
+extern const struct imx_pata_imx_data imx31_pata_imx_data;
+#define imx31_add_pata_imx() \
+ imx_add_pata_imx(&imx31_pata_imx_data)