diff options
| author | Michal Simek <michal.simek@xilinx.com> | 2018-09-03 15:10:49 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-27 09:33:58 +0200 |
| commit | 3e56f3036b4d347c0b65e82b93d67e69d362429c (patch) | |
| tree | 5ff68b992f063df8681040145956ef1fe497490b /include/linux/debugobjects.h | |
| parent | 045aac482ad93d4eef25120d9c5263e2b739fec3 (diff) | |
serial: uartps: console_setup() can't be placed to init section
[ Upstream commit 4bb1ce2350a598502b23088b169e16b43d4bc639 ]
When console device is rebinded, console_setup() is called again.
But marking it as __init means that function will be clear after boot is
complete. If console device is binded again console_setup() is not found
and error "Unable to handle kernel paging request at virtual address"
is reported.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
