diff options
| author | Tom Rini <[email protected]> | 2025-02-03 08:24:49 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-02-03 08:24:49 -0600 |
| commit | 752321b62530dcbd6e8b5872aff4cf761809d76b (patch) | |
| tree | bb98312358819d96cac0a5f0af8092133d44fafb /drivers | |
| parent | 2b1c8d3b2da46ce0f7108f279f04bc66f1d8d09a (diff) | |
| parent | faf237d1b43c3221e78bfa0310833fc5bc71bc21 (diff) | |
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-riscv
CI: https://source.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/24428
- RISC-V: Add some fixes
- RISC-V: Integrate OP-TEE into the RISC-V boot flow
- RISC-V: Unify implementation of cleanup_before_linux() for RISC-V
ports
- RISC-V: cmd: Add bhyve SBI implementation ID
- Board: K1: Probe dram size during boot phase
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/pinctrl/starfive/pinctrl-starfive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/starfive/pinctrl-starfive.c b/drivers/pinctrl/starfive/pinctrl-starfive.c index 95b1a752de2..1b942e6f045 100644 --- a/drivers/pinctrl/starfive/pinctrl-starfive.c +++ b/drivers/pinctrl/starfive/pinctrl-starfive.c @@ -348,7 +348,7 @@ static const struct dm_gpio_ops starfive_gpio_ops = { .set_value = starfive_gpio_set_value, }; -static struct driver starfive_gpio_driver = { +U_BOOT_DRIVER(starfive_gpio) = { .name = "starfive_gpio", .id = UCLASS_GPIO, .probe = starfive_gpio_probe, @@ -367,7 +367,7 @@ static int starfive_gpiochip_register(struct udevice *parent) return -ENOENT; node = dev_ofnode(parent); - ret = device_bind_with_driver_data(parent, &starfive_gpio_driver, + ret = device_bind_with_driver_data(parent, DM_DRIVER_REF(starfive_gpio), "starfive_gpio", 0, node, &dev); return (ret == 0) ? 0 : ret; |
