aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/imx31_ccm.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-22 15:09:21 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-22 15:09:21 +0000
commit3a87d00910ef64a2eece4aad25d96ea10683fc5c (patch)
tree435827ec89296cefb26eb5acefc23beff185ca06 /hw/misc/imx31_ccm.c
parentf4014512cda682a9d0c75310d278d7ae96b0505c (diff)
fpu: Replace uint32 typedef with uint32_t
Replace the uint32 softfloat-specific typedef with uint32_t. This change was made with find include hw fpu target-* -name '*.[ch]' | xargs sed -i -e 's/\buint32\b/uint32_t/g' together with manual removal of the typedef definition, manual undoing of various mis-hits, and another couple of fixes found via test compilation. All the uses in hw/ were using the wrong type by mistake. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Acked-by: Leon Alrae <leon.alrae@imgtec.com> Acked-by: James Hogan <james.hogan@imgtec.com> Message-id: 1452603315-27030-5-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/misc/imx31_ccm.c')
-rw-r--r--hw/misc/imx31_ccm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/imx31_ccm.c b/hw/misc/imx31_ccm.c
index 47d6ead5ad..c47b96f2ac 100644
--- a/hw/misc/imx31_ccm.c
+++ b/hw/misc/imx31_ccm.c
@@ -261,7 +261,7 @@ static void imx31_ccm_reset(DeviceState *dev)
static uint64_t imx31_ccm_read(void *opaque, hwaddr offset, unsigned size)
{
- uint32 value = 0;
+ uint32_t value = 0;
IMX31CCMState *s = (IMX31CCMState *)opaque;
if ((offset >> 2) < IMX31_CCM_MAX_REG) {