[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 2/6] hw/arm/aspeed: Fix coding style
From: |
Jamin Lin |
Subject: |
[PATCH v4 2/6] hw/arm/aspeed: Fix coding style |
Date: |
Wed, 4 Dec 2024 16:44:49 +0800 |
Fix coding style issues from checkpatch.pl.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
---
hw/arm/aspeed_ast2600.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/arm/aspeed_ast2600.c b/hw/arm/aspeed_ast2600.c
index be3eb70cdd..c40d3d8443 100644
--- a/hw/arm/aspeed_ast2600.c
+++ b/hw/arm/aspeed_ast2600.c
@@ -541,7 +541,8 @@ static void aspeed_soc_ast2600_realize(DeviceState *dev,
Error **errp)
if (!sysbus_realize(SYS_BUS_DEVICE(&s->gpio), errp)) {
return;
}
- aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->gpio), 0,
sc->memmap[ASPEED_DEV_GPIO]);
+ aspeed_mmio_map(s, SYS_BUS_DEVICE(&s->gpio), 0,
+ sc->memmap[ASPEED_DEV_GPIO]);
sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpio), 0,
aspeed_soc_get_irq(s, ASPEED_DEV_GPIO));
--
2.34.1
- [PATCH v4 0/6] Support SDHCI and eMMC for ast2700, Jamin Lin, 2024/12/04
- [PATCH v4 1/6] hw/sd/aspeed_sdhci: Fix coding style, Jamin Lin, 2024/12/04
- [PATCH v4 2/6] hw/arm/aspeed: Fix coding style,
Jamin Lin <=
- [PATCH v4 3/6] hw:sdhci: Introduce a new "capareg" class member to set the different Capability Registers, Jamin Lin, 2024/12/04
- [PATCH v4 4/6] hw/sd/aspeed_sdhci: Add AST2700 Support, Jamin Lin, 2024/12/04
- [PATCH v4 5/6] aspeed/soc: Support SDHCI for AST2700, Jamin Lin, 2024/12/04
- [PATCH v4 6/6] aspeed/soc: Support eMMC for AST2700, Jamin Lin, 2024/12/04
- Re: [PATCH v4 0/6] Support SDHCI and eMMC for ast2700, Cédric Le Goater, 2024/12/09