[PATCH] mtd: nand: MTD_NAND_ECC_REALTEK should depend on HAS_DMA

Miquel Raynal miquel.raynal at bootlin.com
Wed Oct 22 02:56:57 PDT 2025


On Wed, 08 Oct 2025 11:47:15 +0200, Geert Uytterhoeven wrote:
> If CONFIG_NO_DMA=y:
> 
>     ERROR: modpost: "dma_free_pages" [drivers/mtd/nand/ecc-realtek.ko] undefined!
>     ERROR: modpost: "dma_alloc_pages" [drivers/mtd/nand/ecc-realtek.ko] undefined!
> 
> The driver cannot function without DMA, hence fix this by adding a
> dependency on HAS_DMA.
> 
> [...]

Applied to mtd/fixes, thanks!

[1/1] mtd: nand: MTD_NAND_ECC_REALTEK should depend on HAS_DMA
      commit: 0d9c80aa572182d4b1464826cd77aa8973213216

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