dm: core: Mark root_info as const
authorMichal Simek <michal.simek@amd.com>
Fri, 25 Jul 2025 12:01:22 +0000 (14:01 +0200)
committerMichal Simek <michal.simek@amd.com>
Tue, 26 Aug 2025 05:30:09 +0000 (07:30 +0200)
commit25801ef2d46d44fe1a137971bf4e4d1c0cc529ce
tree21cc8e7d773132133eb51335375a445adda0ae98
parent4b2679efc5f50ac38b9c2f20b3beec56283efddb
dm: core: Mark root_info as const

root_info driver structure is not changing that's why mark them as const
which ensure that structure will be moved from .data section to .rodata
section.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/18d92a93a9863ed0452e82a1f8e0ff9205adb4f9.1753444878.git.michal.simek@amd.com
drivers/core/root.c