diff options
author | Peter Maydell | 2016-09-22 19:13:09 +0200 |
---|---|---|
committer | Peter Maydell | 2016-09-22 19:13:09 +0200 |
commit | d675765a0244af1d65c292f2508009f1bd13e1b6 (patch) | |
tree | c22d8a7b3bba5280c0986efc892b8cebf9855f3d /hw/timer | |
parent | disas/arm.c: Remove unused macro definitions (diff) | |
download | qemu-d675765a0244af1d65c292f2508009f1bd13e1b6.tar.gz qemu-d675765a0244af1d65c292f2508009f1bd13e1b6.tar.xz qemu-d675765a0244af1d65c292f2508009f1bd13e1b6.zip |
imx: Use 'const char', not 'char const'
'char const' means the same thing as 'const char', but we
use the former in only a handful of places and we use the
latter over six thousand times. Switch the imx reg_name()
functions to bring them in line with everything else.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/timer')
-rw-r--r-- | hw/timer/imx_epit.c | 2 | ||||
-rw-r--r-- | hw/timer/imx_gpt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/timer/imx_epit.c b/hw/timer/imx_epit.c index f34d7f7c77..8677b753b1 100644 --- a/hw/timer/imx_epit.c +++ b/hw/timer/imx_epit.c @@ -30,7 +30,7 @@ } \ } while (0) -static char const *imx_epit_reg_name(uint32_t reg) +static const char *imx_epit_reg_name(uint32_t reg) { switch (reg) { case 0: diff --git a/hw/timer/imx_gpt.c b/hw/timer/imx_gpt.c index f034d65036..010ccbf207 100644 --- a/hw/timer/imx_gpt.c +++ b/hw/timer/imx_gpt.c @@ -29,7 +29,7 @@ } \ } while (0) -static char const *imx_gpt_reg_name(uint32_t reg) +static const char *imx_gpt_reg_name(uint32_t reg) { switch (reg) { case 0: |