diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2017-04-20 17:32:28 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-04-20 17:39:17 +0100 |
commit | 75c6d92e4c0a5128d61d21175d2eed1354e87717 (patch) | |
tree | 98ae63580b6e64ed73cc890caf57e8abfd7f9397 /pc-bios/efi-pcnet.rom | |
parent | f2ad5140fa521bda30b9c3c3db5b6913f6dda1ae (diff) |
hw/char/exynos4210_uart: Constify static array and few arguments
The static array exynos4210_uart_regs with register values is not
modified so it can be made const.
Few other functions accept driver or uart state as an argument but they
do not change it and do not cast it so this can be made const for code
safeness.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Message-id: 20170313184750.429-3-krzk@kernel.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'pc-bios/efi-pcnet.rom')
0 files changed, 0 insertions, 0 deletions