summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>2018-11-21 12:08:06 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-12-07 10:38:28 +0100
commit48fa2f58a5d6449dc0231a994ff4f62eed86380b (patch)
tree6c54172fded14faedf6f8aaeb105cd86118da637 /arch/arm/mach-omap1
parent7416bd35008c0fbd4aff9fdb267ff67b7bc4ea77 (diff)
downloadlinux-0-day-48fa2f58a5d6449dc0231a994ff4f62eed86380b.tar.gz
linux-0-day-48fa2f58a5d6449dc0231a994ff4f62eed86380b.tar.xz
ARM: OMAP1: ams-delta: Drop obsolete NAND resources
Amstrad Delta NAND driver now uses GPIO API for data I/O so there is no need to assign memory I/O resource to the device any longer. Drop it. Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'arch/arm/mach-omap1')
-rw-r--r--arch/arm/mach-omap1/board-ams-delta.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/mach-omap1/board-ams-delta.c b/arch/arm/mach-omap1/board-ams-delta.c
index 30c0d18f372ed..d594f60c32248 100644
--- a/arch/arm/mach-omap1/board-ams-delta.c
+++ b/arch/arm/mach-omap1/board-ams-delta.c
@@ -296,20 +296,9 @@ struct modem_private_data {
static struct modem_private_data modem_priv;
-static struct resource ams_delta_nand_resources[] = {
- [0] = {
- .start = OMAP1_MPUIO_BASE,
- .end = OMAP1_MPUIO_BASE +
- OMAP_MPUIO_IO_CNTL + sizeof(u32) - 1,
- .flags = IORESOURCE_MEM,
- },
-};
-
static struct platform_device ams_delta_nand_device = {
.name = "ams-delta-nand",
.id = -1,
- .num_resources = ARRAY_SIZE(ams_delta_nand_resources),
- .resource = ams_delta_nand_resources,
};
#define OMAP_GPIO_LABEL "gpio-0-15"