]> git.proxmox.com Git - mirror_qemu.git/commit
char: cadence_uart: Clean up variable names
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Fri, 15 May 2015 02:23:15 +0000 (19:23 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 18 May 2015 15:41:12 +0000 (16:41 +0100)
commite86da3cb40d6f70ce99d8e64952c49df8ad78848
treed2a0957c47ddff240ea013d57456971ed09ba600
parent14ca2e462ee137974d81729b1d88d9d39cf2f22c
char: cadence_uart: Clean up variable names

Clean up some variable names in preparation for migrating the state struct
and type cast macro to a public header. The acronym "UART" on it's own is
not specific enough to be used in a more global namespace so preface with
"cadence". Fix the capitalisation of "uart" in the state type while touching
the typename. Preface macros used by the state struct itself with CADENCE_UART
so they don't conflict in namespace either.

Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: 3812b7426c338beae9e082557f3524a99310ddc6.1431381507.git.peter.crosthwaite@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/char/cadence_uart.c