summaryrefslogtreecommitdiff
path: root/include/linux/mtd/rawnand.h
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2018-07-05 13:27:28 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2018-07-18 10:34:21 +0300
commit707329aca6e0cf5781ca7f62c39bdcb5f87e9c23 (patch)
treee40452938d8df0e105c143d64bbe70195384dc3d /include/linux/mtd/rawnand.h
parenta4c025372d9d4756e7be98a98f5dde302c6df562 (diff)
downloadlinux-707329aca6e0cf5781ca7f62c39bdcb5f87e9c23.tar.xz
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/rawnand.h')
-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;