[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 2/6] hw/arm/aspeed: Fix coding style
From: |
Jamin Lin |
Subject: |
[PATCH v2 2/6] hw/arm/aspeed: Fix coding style |
Date: |
Tue, 3 Dec 2024 10:14:56 +0800 |
Fix coding style issues from checkpatch.pl.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.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 v2 4/6] hw/sd/aspeed_sdhci: Add AST2700 Support, Jamin Lin, 2024/12/02
[PATCH v2 5/6] aspeed/soc: Support SDHCI for AST2700, Jamin Lin, 2024/12/02
[PATCH v2 6/6] aspeed/soc: Support eMMC for AST2700, Jamin Lin, 2024/12/02