summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3/devices-imx35.h
diff options
context:
space:
mode:
authorUwe Kleine-König2010-06-16 12:26:53 +0200
committerUwe Kleine-König2010-06-30 09:00:35 +0200
commite2611ba40a937b8a749ef075a67e40acee5d1748 (patch)
treed412b52d70683583b12c6b215138703efe31c5d9 /arch/arm/mach-mx3/devices-imx35.h
parentARM: imx: Change the way nand devices are registered (imx31) (diff)
downloadkernel-qcow2-linux-e2611ba40a937b8a749ef075a67e40acee5d1748.tar.gz
kernel-qcow2-linux-e2611ba40a937b8a749ef075a67e40acee5d1748.tar.xz
kernel-qcow2-linux-e2611ba40a937b8a749ef075a67e40acee5d1748.zip
ARM: imx: Change the way nand devices are registered (imx35)
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-mx3/devices-imx35.h')
-rw-r--r--arch/arm/mach-mx3/devices-imx35.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/devices-imx35.h b/arch/arm/mach-mx3/devices-imx35.h
new file mode 100644
index 000000000000..69dac76a7909
--- /dev/null
+++ b/arch/arm/mach-mx3/devices-imx35.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/mx35.h>
+#include <mach/devices-common.h>
+
+#define imx35_add_mxc_nand(pdata) \
+ imx_add_mxc_nand_v21(MX35_NFC_BASE_ADDR, MX35_INT_NANDFC, pdata)