[PATCH] mtd: spi-nor: include mtd.h header for struct mtd_info definition

Brian Norris computersforpeace at gmail.com
Mon Nov 30 15:02:53 EST 2015


On Thu, Nov 26, 2015 at 09:05:04AM +0100, Rafał Miłecki wrote:
> So far struct spi_nor was using just a pointer to struct mtd_info so it
> wasn't needed to have it fully defined there. After recent change we
> embed whole struct so we need to include a proper header.
> 
> Fixes: 1976367173a4 ("mtd: spi-nor: embed struct mtd_info within struct spi_nor")
> Signed-off-by: Rafał Miłecki <zajec5 at gmail.com>

Applied to l2-mtd.git



More information about the linux-mtd mailing list