diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-08-13 15:46:04 -0700 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-09-02 14:11:40 -0700 |
commit | a39f1d5e4303f535840a44eee87326fd9743de7c (patch) | |
tree | eec8d26289114e7da3140d321a33ed76d4ab4d5e /include/linux/mtd | |
parent | c9ec3900abf279d9276a0661c9bed2550c1f0bb5 (diff) |
mtd: spi-nor: add forward declaration for mtd_info
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>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r-- | include/linux/mtd/spi-nor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h index e5409524bb0a..85a24baea093 100644 --- 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 |