summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx25/devices-imx25.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-16 12:34:56 +0200
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-06-30 09:00:32 +0200
commitb0c4845c47bce6fefe5e08b1e0cbd100d62ec36b (patch)
tree409483c88a00e0ca311efb6e6b83f17461b0fed5 /arch/arm/mach-mx25/devices-imx25.h
parent1f8d721cd3dd1a2ee37152ce228f035212074984 (diff)
downloadlinux-b0c4845c47bce6fefe5e08b1e0cbd100d62ec36b.tar.bz2
ARM: imx: Change the way nand devices are registered (imx25)
Make use of new mechanism to register a nand device. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx25/devices-imx25.h')
-rw-r--r--arch/arm/mach-mx25/devices-imx25.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-mx25/devices-imx25.h b/arch/arm/mach-mx25/devices-imx25.h
new file mode 100644
index 000000000000..f8d4ee0b1eb6
--- /dev/null
+++ b/arch/arm/mach-mx25/devices-imx25.h
@@ -0,0 +1,13 @@
+/*
+ * Copyright (C) 2010 Pengutronix
+ * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
+ *
+ * This program is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License version 2 as published by the
+ * Free Software Foundation.
+ */
+#include <mach/mx25.h>
+#include <mach/devices-common.h>
+
+#define imx25_add_mxc_nand(pdata) \
+ imx_add_mxc_nand_v21(MX25_NFC_BASE_ADDR, MX25_INT_NANDFC, pdata)