From: Boris Brezillon Date: Thu, 5 Jul 2018 10:27:28 +0000 (+0200) Subject: mtd: rawnand: Remove forward declaration of mtd_info X-Git-Tag: v4.19-rc1~171^2~2^2~103 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=707329aca6e0cf5781ca7f62c39bdcb5f87e9c23;p=linux.git 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 Signed-off-by: Miquel Raynal --- 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 #include -struct mtd_info; struct nand_flash_dev; struct device_node;