projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4c0253
)
mtd: rawnand: Remove forward declaration of mtd_info
author
Boris Brezillon
<
[email protected]
>
Thu, 5 Jul 2018 10:27:28 +0000
(12:27 +0200)
committer
Miquel Raynal
<
[email protected]
>
Wed, 18 Jul 2018 07:34:21 +0000
(09:34 +0200)
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 <
[email protected]
>
Signed-off-by: Miquel Raynal <
[email protected]
>
include/linux/mtd/rawnand.h
patch
|
blob
|
history
diff --git
a/include/linux/mtd/rawnand.h
b/include/linux/mtd/rawnand.h
index 4d7a46c42900f3bdf3381e25c0bd1f26a4794b0f..32145b3025856a2f06d1137db641679dacbd2435 100644
(file)
--- 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;