summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/devices-imx27.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-08-24 12:04:14 -0300
committerSascha Hauer <s.hauer@pengutronix.de>2011-08-24 18:13:34 +0200
commitd5534ba6c783a36332e55036273411f4d14b9af6 (patch)
treeae6492665f28bf731065b8a0286e69cb39c9366b /arch/arm/mach-imx/devices-imx27.h
parent03b20b07be130e44faf29f787c66ce5cce5afb2a (diff)
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-imx27.h')
-rw-r--r--arch/arm/mach-imx/devices-imx27.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices-imx27.h b/arch/arm/mach-imx/devices-imx27.h
index 7f97a3cdd41..2f727d7c380 100644
--- a/arch/arm/mach-imx/devices-imx27.h
+++ b/arch/arm/mach-imx/devices-imx27.h
@@ -76,3 +76,7 @@ extern const struct imx_spi_imx_data imx27_cspi_data[];
#define imx27_add_spi_imx0(pdata) imx27_add_cspi(0, pdata)
#define imx27_add_spi_imx1(pdata) imx27_add_cspi(1, pdata)
#define imx27_add_spi_imx2(pdata) imx27_add_cspi(2, pdata)
+
+extern const struct imx_pata_imx_data imx27_pata_imx_data;
+#define imx27_add_pata_imx() \
+ imx_add_pata_imx(&imx27_pata_imx_data)