diff options
| author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-07-05 06:27:28 -0400 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-18 03:34:21 -0400 |
| commit | 707329aca6e0cf5781ca7f62c39bdcb5f87e9c23 (patch) | |
| tree | e40452938d8df0e105c143d64bbe70195384dc3d /include/linux/mtd | |
| parent | a4c025372d9d4756e7be98a98f5dde302c6df562 (diff) | |
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.h | 1 |
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 @@ | |||
| 23 | #include <linux/mtd/bbm.h> | 23 | #include <linux/mtd/bbm.h> |
| 24 | #include <linux/types.h> | 24 | #include <linux/types.h> |
| 25 | 25 | ||
| 26 | struct mtd_info; | ||
| 27 | struct nand_flash_dev; | 26 | struct nand_flash_dev; |
| 28 | struct device_node; | 27 | struct device_node; |
| 29 | 28 | ||
