aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorLi Qiang <[email protected]>2025-10-20 12:53:33 +0000
committerMiquel Raynal <[email protected]>2025-10-22 09:54:42 +0000
commit9631350885929819d4e46c6521df35960b472ef3 (patch)
treebd084f85e3dfd54f29fe916d5dc9fd7038ec406a /lib/mpi/mpi-mod.c
parentmtd: nand: MTD_NAND_ECC_REALTEK should depend on HAS_DMA (diff)
downloadkernel-9631350885929819d4e46c6521df35960b472ef3.tar.gz
kernel-9631350885929819d4e46c6521df35960b472ef3.zip
mtd: rawnand: realtek: Make rtl_ecc_engine_ops const
The rtl_ecc_engine_ops structure is only used to provide a set of callback functions and is never modified after initialization. Mark it as const so it can be placed in the read-only section, which improves safety and allows better compiler optimization. Signed-off-by: Li Qiang <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions