“d29ec8241c10eacf59c23b3828a88dbae06e7e3f”上不存在“drivers/nvme/host/nvme.h”
提交 17c65d69 编写于 作者: D David Brownell 提交者: Linus Torvalds

[PATCH] m25p80 build fixes (with MTD debug)

Fix build issues that show up with the m25p80 SPI flash driver when
building with MTD debug enabled.
Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 4b1badf5
...@@ -437,7 +437,7 @@ static int __devinit m25p_probe(struct spi_device *spi) ...@@ -437,7 +437,7 @@ static int __devinit m25p_probe(struct spi_device *spi)
* or JEDEC get-id commands. Try them ... * or JEDEC get-id commands. Try them ...
*/ */
DEBUG(MTD_DEBUG_LEVEL1, "%s: no chip id\n", DEBUG(MTD_DEBUG_LEVEL1, "%s: no chip id\n",
flash->spi->dev.bus_id); spi->dev.bus_id);
return -ENODEV; return -ENODEV;
} }
...@@ -447,7 +447,7 @@ static int __devinit m25p_probe(struct spi_device *spi) ...@@ -447,7 +447,7 @@ static int __devinit m25p_probe(struct spi_device *spi)
} }
if (i == ARRAY_SIZE(m25p_data)) { if (i == ARRAY_SIZE(m25p_data)) {
DEBUG(MTD_DEBUG_LEVEL1, "%s: unrecognized id %s\n", DEBUG(MTD_DEBUG_LEVEL1, "%s: unrecognized id %s\n",
flash->spi->dev.bus_id, data->type); spi->dev.bus_id, data->type);
return -ENODEV; return -ENODEV;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册