summaryrefslogtreecommitdiff
path: root/cmd/legacy-mtd-utils.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-05-21 16:51:21 -0600
committerTom Rini <trini@konsulko.com>2025-06-02 17:26:16 -0600
commit2266595bf893edb07331ca8464738e0d4c82c129 (patch)
tree03788eb0bdcac71e0051a7a39d48629b1a63d92e /cmd/legacy-mtd-utils.c
parent2cf46de9b6b8463033ba4f9243643d004dc9ea5a (diff)
include/mtd.h: Cleanup usage
There are only a few things found in <mtd.h> today. Go through and audit the C files which include <mtd.h> and remove it when not required. Then, add it to the files which had either missed it or had an indirect inclusion of it. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/legacy-mtd-utils.c')
-rw-r--r--cmd/legacy-mtd-utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/legacy-mtd-utils.c b/cmd/legacy-mtd-utils.c
index 1a5271000bf..34a6da01947 100644
--- a/cmd/legacy-mtd-utils.c
+++ b/cmd/legacy-mtd-utils.c
@@ -4,7 +4,6 @@
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/string.h>
-#include <mtd.h>
static int get_part(const char *partname, int *idx, loff_t *off, loff_t *size,
loff_t *maxsize, int devtype)