aboutsummaryrefslogtreecommitdiff
path: root/hw/ssi/imx_spi.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-09-22 18:13:09 +0100
committerPeter Maydell <peter.maydell@linaro.org>2016-09-22 18:13:09 +0100
commitd675765a0244af1d65c292f2508009f1bd13e1b6 (patch)
treec22d8a7b3bba5280c0986efc892b8cebf9855f3d /hw/ssi/imx_spi.c
parentd486ccaa9ecdc37015ca0ecb330e3127ea948f8a (diff)
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/ssi/imx_spi.c')
-rw-r--r--hw/ssi/imx_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ssi/imx_spi.c b/hw/ssi/imx_spi.c
index 4226199811..e4e395fa67 100644
--- a/hw/ssi/imx_spi.c
+++ b/hw/ssi/imx_spi.c
@@ -25,7 +25,7 @@
} \
} while (0)
-static char const *imx_spi_reg_name(uint32_t reg)
+static const char *imx_spi_reg_name(uint32_t reg)
{
static char unknown[20];