diff options
| author | Tom Rini <[email protected]> | 2025-09-25 14:56:12 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-10-08 13:54:58 -0600 |
| commit | da93f8a078b40096da740562d3c5c2104f8f3696 (patch) | |
| tree | 2ba292694e7adaa7eb5c479d8d4c75c365c7c572 /drivers/gpio | |
| parent | d40eae0e270f50e6e9b99d7bca334bb87bc28f70 (diff) | |
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 <[email protected]>
Diffstat (limited to 'drivers/gpio')
| -rw-r--r-- | drivers/gpio/gpio-aspeed-g7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-aspeed-g7.c b/drivers/gpio/gpio-aspeed-g7.c index 4c6ab86203c..4607468ca05 100644 --- a/drivers/gpio/gpio-aspeed-g7.c +++ b/drivers/gpio/gpio-aspeed-g7.c @@ -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, |
