summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2021-10-28 17:17:24 -0600
committerJonathan Corbet <corbet@lwn.net>2021-10-28 17:19:11 -0600
commitc4d2350308f2f7f6eebcb4a9c45c19b03a0206f3 (patch)
tree7377f2e7c1c8f485570152e411660705347b6dc6 /include/linux
parent130b472e8a8d86482b285161faa41c2ab1147124 (diff)
downloadlwn-c4d2350308f2f7f6eebcb4a9c45c19b03a0206f3.tar.gz
lwn-c4d2350308f2f7f6eebcb4a9c45c19b03a0206f3.zip
mtd: remove unused header file <linux/mtd/latch-addr-flash.h>
Commit d24dbd7541ff ("mtd: maps: Get rid of the latch-addr-flash driver") removed the last user of <linux/mtd/latch-addr-flash.h> but left the header file behind. Nothing uses this file, delete it now. Cc: Boris Brezillon <bbrezillon@kernel.org> Cc: Miquel Raynal <miquel.raynal@bootlin.com> Cc: Richard Weinberger <richard@nod.at> Cc: Vignesh Raghavendra <vigneshr@ti.com> Cc: linux-mtd@lists.infradead.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/latch-addr-flash.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/include/linux/mtd/latch-addr-flash.h b/include/linux/mtd/latch-addr-flash.h
deleted file mode 100644
index e94b8e128074..000000000000
--- a/include/linux/mtd/latch-addr-flash.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Interface for NOR flash driver whose high address lines are latched
- *
- * Copyright © 2008 MontaVista Software, Inc. <source@mvista.com>
- *
- * This file is licensed under the terms of the GNU General Public License
- * version 2. This program is licensed "as is" without any warranty of any
- * kind, whether express or implied.
- */
-#ifndef __LATCH_ADDR_FLASH__
-#define __LATCH_ADDR_FLASH__
-
-struct map_info;
-struct mtd_partition;
-
-struct latch_addr_flash_data {
- unsigned int width;
- unsigned int size;
-
- int (*init)(void *data, int cs);
- void (*done)(void *data);
- void (*set_window)(unsigned long offset, void *data);
- void *data;
-
- unsigned int nr_parts;
- struct mtd_partition *parts;
-};
-
-#endif