diff options
| author | Li Qiang <[email protected]> | 2025-10-20 12:53:33 +0000 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2025-10-22 09:54:42 +0000 |
| commit | 9631350885929819d4e46c6521df35960b472ef3 (patch) | |
| tree | bd084f85e3dfd54f29fe916d5dc9fd7038ec406a /lib/mpi/mpi-mod.c | |
| parent | mtd: nand: MTD_NAND_ECC_REALTEK should depend on HAS_DMA (diff) | |
| download | kernel-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
