diff options
| author | Geert Uytterhoeven <[email protected]> | 2025-03-26 14:22:19 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-03-26 16:21:32 +0000 |
| commit | d32c4e58545f17caaa854415f854691e32d42075 (patch) | |
| tree | 5ae47ce36ab670fd0112231b53a7828c3f325a14 /net/core/lock_debug.c | |
| parent | spi-rockchip: Fix register out of bounds access (diff) | |
| download | kernel-d32c4e58545f17caaa854415f854691e32d42075.tar.gz kernel-d32c4e58545f17caaa854415f854691e32d42075.zip | |
spi: SPI_QPIC_SNAND should be tristate and depend on MTD
SPI_QPIC_SNAND is the only driver that selects MTD instead of depending
on it, which could lead to circular dependencies. Moreover, as
SPI_QPIC_SNAND is bool, this forces MTD (and various related symbols) to
be built-in, as can be seen in an allmodconfig kernel.
Except for a missing semicolon, there is no reason why SPI_QPIC_SNAND
cannot be tristate; all MODULE_*() boilerplate is already present.
Hence make SPI_QPIC_SNAND tristate, let it depend on MTD, and add the
missing semicolon.
Fixes: 7304d1909080ef0c ("spi: spi-qpic: add driver for QCOM SPI NAND flash Interface")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Link: https://patch.msgid.link/b63db431cbf35223a4400e44c296293d32c4543c.1742998909.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/core/lock_debug.c')
0 files changed, 0 insertions, 0 deletions
