提交 11fb963a 编写于 作者: A Amit Kumar Mahapatra 提交者: Michal Simek

mtd: spi-nor: Fix call trace when qspi driver built as module

When spi-nor and zynqmp qspi driver are built as modules, call trace was
observed while loading the modules. With this fix call trace issue is resolved.
Signed-off-by: NAmit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>
上级 f45363dd
......@@ -2484,7 +2484,7 @@ static struct spi_nor_fixups gd25q256_fixups = {
* For historical (and compatibility) reasons (before we got above config) some
* old entries may be missing 4K flag.
*/
static const struct flash_info spi_nor_ids[] = {
static struct flash_info spi_nor_ids[] = {
/* Atmel -- some are (confusingly) marketed as "DataFlash" */
{ "at25fs010", INFO(0x1f6601, 0, 32 * 1024, 4, SECT_4K) },
{ "at25fs040", INFO(0x1f6604, 0, 64 * 1024, 8, SECT_4K) },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册