mtd: spinand: core: add missing MODULE_DEVICE_TABLE()
authorAlexander Lobakin <alobakin@pm.me>
Tue, 23 Mar 2021 17:37:19 +0000 (17:37 +0000)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 28 Mar 2021 17:13:39 +0000 (19:13 +0200)
commit25fefc88c71f47db0466570335e3f75f10952e7a
tree7eeee633d9336efda113c2e34eedb82a547287c3
parent5c8a620ab22b05eae7e480cb83ff599047b8aff4
mtd: spinand: core: add missing MODULE_DEVICE_TABLE()

The module misses MODULE_DEVICE_TABLE() for both SPI and OF ID tables
and thus never autoloads on ID matches.
Add the missing declarations.
Present since day-0 of spinand framework introduction.

Fixes: 7529df465248 ("mtd: nand: Add core infrastructure to support SPI NANDs")
Cc: stable@vger.kernel.org # 4.19+
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210323173714.317884-1-alobakin@pm.me
drivers/mtd/nand/spi/core.c