diff options
author | Jisheng Zhang <jszhang@kernel.org> | 2021-05-16 16:15:56 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-05-29 23:51:16 +0300 |
commit | 010623568222bd144eb73aa9f3b46c79b63d7676 (patch) | |
tree | a18cd1e012d2511674e8c1a21af5820cfd6e7921 /drivers/ata | |
parent | 3df952ae2ac81fbc5d44b014e5462b53d1decbb5 (diff) | |
download | linux-010623568222bd144eb73aa9f3b46c79b63d7676.tar.xz |
riscv: mm: init: Consolidate vars, functions
Consolidate the following items in init.c
Staticize global vars as much as possible;
Add __initdata mark if the global var isn't needed after init
Add __init mark if the func isn't needed after init
Add __ro_after_init if the global var is read only after init
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions