aspeed/smc: Let the SSI core layer define the bus name
commit9bbdfe0569cc16199ed1a7deb77680b9d5051d1e
authorCédric Le Goater <clg@kaod.org>
Tue, 8 Mar 2022 08:18:11 +0000 (8 09:18 +0100)
committerCédric Le Goater <clg@kaod.org>
Tue, 8 Mar 2022 08:18:11 +0000 (8 09:18 +0100)
tree7eaeea35f825695618b53392cbe86ce4dc68b986
parentae945a00ff465f2e08be6ca6d83946fe5f9d6018
aspeed/smc: Let the SSI core layer define the bus name

If no id is provided, qdev automatically assigns an unique name with
the following pattern "<type>.<index>" which avoids bus name collision
when using multiple buses.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220307071856.1410731-6-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/ssi/aspeed_smc.c