gpio: aspeed: Make U_BOOT_DRIVER entries unique

All instances of the U_BOOT_DRIVER must use a unique name or they will
lead to link time failures due to name space conflicts when both are
present. In this case gpio-aspeed-g7 was using the same name as
gpio-aspeed.

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2025-09-25 14:56:12 -06:00
parent d40eae0e27
commit da93f8a078

View File

@ -141,7 +141,7 @@ static const struct udevice_id aspeed_gpio_ids[] = {
{ }
};
U_BOOT_DRIVER(gpio_aspeed) = {
U_BOOT_DRIVER(gpio_aspeed_g7) = {
.name = "gpio-aspeed",
.id = UCLASS_GPIO,
.of_match = aspeed_gpio_ids,