projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9ec390
)
mtd: spi-nor: add forward declaration for mtd_info
author
Brian Norris
<computersforpeace@gmail.com>
Thu, 13 Aug 2015 22:46:04 +0000
(15:46 -0700)
committer
Brian Norris
<computersforpeace@gmail.com>
Wed, 2 Sep 2015 21:11:40 +0000
(14:11 -0700)
This header can't actually stand alone, as it relies on the declaration
(but not definition) of struct mtd_info. Let's fix that.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Tested-by: Joachim Eastwood <manabian@gmail.com>
include/linux/mtd/spi-nor.h
patch
|
blob
|
history
diff --git
a/include/linux/mtd/spi-nor.h
b/include/linux/mtd/spi-nor.h
index e5409524bb0aeca355b5bd44ce2bddb03ceca5da..85a24baea093ed1d1479c4a2041d41eb6bf8da94 100644
(file)
--- a/
include/linux/mtd/spi-nor.h
+++ b/
include/linux/mtd/spi-nor.h
@@
-127,6
+127,8
@@
enum spi_nor_option_flags {
SNOR_F_USE_FSR = BIT(0),
};
+struct mtd_info;
+
/**
* struct spi_nor - Structure for defining a the SPI NOR layer
* @mtd: point to a mtd_info structure