diff options
| author | Claudiu Beznea <[email protected]> | 2025-01-16 18:22:45 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-01-17 11:54:36 +0000 |
| commit | eaeee4225dba30bef4d424bdf134a07b7f423e8b (patch) | |
| tree | 086851ef783d5b9fa043fecd9bc6a81f1035dbe7 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | serial: kgdb_nmi: Remove unused knock code (diff) | |
| download | kernel-eaeee4225dba30bef4d424bdf134a07b7f423e8b.tar.gz kernel-eaeee4225dba30bef4d424bdf134a07b7f423e8b.zip | |
serial: sh-sci: Drop __initdata macro for port_cfg
The port_cfg object is used by serial_console_write(), which serves as
the write function for the earlycon device. Marking port_cfg as __initdata
causes it to be freed after kernel initialization, resulting in earlycon
becoming unavailable thereafter. Remove the __initdata macro from port_cfg
to resolve this issue.
Fixes: 0b0cced19ab1 ("serial: sh-sci: Add CONFIG_SERIAL_EARLYCON support")
Cc: [email protected]
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Claudiu Beznea <[email protected]>
Fixes: 0b0cced19ab15c9e ("serial: sh-sci: Add CONFIG_SERIAL_EARLYCON support")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
