[PATCH] mtd: nand: Drop explicit test for built-in CONFIG_SPI_QPIC_SNAND

Miquel Raynal miquel.raynal at bootlin.com
Mon Apr 7 00:15:27 PDT 2025


On Fri, 28 Mar 2025 09:24:01 +0100, Geert Uytterhoeven wrote:
> If CONFIG_SPI_QPIC_SNAND=m, but CONFIG_MTD_NAND_QCOM=n:
> 
>     ERROR: modpost: "qcom_nandc_unalloc" [drivers/spi/spi-qpic-snand.ko] undefined!
>     ...
> 
> Fix this by dropping the explicit test for a built-in
> CONFIG_SPI_QPIC_SNAND completely.  Kbuild handles multiple and mixed
> obj-y/obj-m rules for the same object file fine.
> 
> [...]

Applied to mtd/fixes, thanks!

[1/1] mtd: nand: Drop explicit test for built-in CONFIG_SPI_QPIC_SNAND
      commit: 36c6468724aa98d33fea9a1d7e07ddda6302f5d4

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl




More information about the linux-mtd mailing list