aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-07-05 12:27:28 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-07-18 09:34:21 +0200
commit707329aca6e0cf5781ca7f62c39bdcb5f87e9c23 (patch)
treee40452938d8df0e105c143d64bbe70195384dc3d /include/linux/mtd
parentmtd: rawnand: Remove nand_do_read() prototype from rawnand.h (diff)
downloadlinux-dev-707329aca6e0cf5781ca7f62c39bdcb5f87e9c23.tar.xz
linux-dev-707329aca6e0cf5781ca7f62c39bdcb5f87e9c23.zip
mtd: rawnand: Remove forward declaration of mtd_info
struct mtd_info is defined in linux/mtd/mtd.h which is included at the beginning of nand_base.c, there's thus no need for the forward declaration of mtd_info. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/rawnand.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h
index 4d7a46c42900..32145b302585 100644
--- a/include/linux/mtd/rawnand.h
+++ b/include/linux/mtd/rawnand.h
@@ -23,7 +23,6 @@
#include <linux/mtd/bbm.h>
#include <linux/types.h>
-struct mtd_info;
struct nand_flash_dev;
struct device_node;