Home
last modified time | relevance | path

Searched hist:"75 c6d92e" (Results 1 – 1 of 1) sorted by relevance

/qemu/hw/char/
H A Dexynos4210_uart.c75c6d92e Thu Apr 20 16:32:28 GMT 2017 Krzysztof Kozlowski <krzk@kernel.org> 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>