Commit a39f1d5e authored by Brian Norris's avatar Brian Norris

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: default avatarBrian Norris <computersforpeace@gmail.com>
Tested-by: default avatarJoachim Eastwood <manabian@gmail.com>
parent c9ec3900
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment