OSDN Git Service

mtd: spi-nor: include mtd.h header for struct mtd_info definition
authorRafał Miłecki <zajec5@gmail.com>
Thu, 26 Nov 2015 08:05:04 +0000 (09:05 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 30 Nov 2015 20:02:29 +0000 (12:02 -0800)
commit2c81de771f38e54324ede3f24118f4852570b384
tree250020e0ee19c5c1a1e72dc839650530333cbff7
parent3ce351b5354a206e92ccd2d7f30df9c8b7ae5ed1
mtd: spi-nor: include mtd.h header for struct mtd_info definition

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@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
include/linux/mtd/spi-nor.h