mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 04:36:13 +02:00
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:
parent
d40eae0e27
commit
da93f8a078
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user