mtd: spi-nor: assign mtd->priv in spi_nor_scan()
Layering suggests that the SPI NOR layer (not the hardware driver) should be initializing the MTD layer. Signed-off-by:Brian Norris <computersforpeace@gmail.com> Tested-by:
Joachim Eastwood <manabian@gmail.com>
Showing
Please register or sign in to comment