diff options
| author | Geert Uytterhoeven <[email protected]> | 2025-10-08 09:47:15 +0000 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2025-10-22 09:54:29 +0000 |
| commit | 0d9c80aa572182d4b1464826cd77aa8973213216 (patch) | |
| tree | 389c78867032982faf6808475baced427e873617 /tools/lib/traceevent/plugins/plugin_function.c | |
| parent | mtd: nand: realtek-ecc: Fix a IS_ERR() vs NULL bug in probe (diff) | |
| download | kernel-0d9c80aa572182d4b1464826cd77aa8973213216.tar.gz kernel-0d9c80aa572182d4b1464826cd77aa8973213216.zip | |
mtd: nand: MTD_NAND_ECC_REALTEK should depend on HAS_DMA
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.
Fixes: 3148d0e5b1c5733d ("mtd: nand: realtek-ecc: Add Realtek external ECC engine support")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'tools/lib/traceevent/plugins/plugin_function.c')
0 files changed, 0 insertions, 0 deletions
