diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-16 05:17:45 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-30 03:00:30 -0400 |
commit | 1f8d721cd3dd1a2ee37152ce228f035212074984 (patch) | |
tree | 3a2b5ba694a4ffef0bceaeeacf46454d0511b2f3 /arch/arm/mach-imx/devices-imx21.h | |
parent | 66384eedd900f2f6bb00e4f16c2cb770d6b0066b (diff) |
ARM: imx: Change the way nand devices are registered (imx21)
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-imx/devices-imx21.h')
-rw-r--r-- | arch/arm/mach-imx/devices-imx21.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices-imx21.h b/arch/arm/mach-imx/devices-imx21.h new file mode 100644 index 00000000000..e85dcb1b460 --- /dev/null +++ b/arch/arm/mach-imx/devices-imx21.h | |||
@@ -0,0 +1,13 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2010 Pengutronix | ||
3 | * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify it under | ||
6 | * the terms of the GNU General Public License version 2 as published by the | ||
7 | * Free Software Foundation. | ||
8 | */ | ||
9 | #include <mach/mx21.h> | ||
10 | #include <mach/devices-common.h> | ||
11 | |||
12 | #define imx21_add_mxc_nand(pdata) \ | ||
13 | imx_add_mxc_nand_v1(MX21_NFC_BASE_ADDR, MX21_INT_NANDFC, pdata) | ||