[PATCH] mtd: spi-nor: include mtd.h header for struct mtd_info definition
Rafał Miłecki
zajec5 at gmail.com
Fri Nov 27 04:25:55 EST 2015
On 26 November 2015 at 09:05, Rafał Miłecki <zajec5 at gmail.com> 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>
This may be worth taking as a fix for 4.4. However I'm not aware of
any upstream driver failing to build because of this.
--
Rafał
More information about the linux-mtd
mailing list