The driver_d is missing the name property. When the reset driver is used in a non-of setup, this will result in an error during device_registration where the dev->name is matched to the driver->name. Signed-off-by: Steffen Trumtrar <s.trumtrar@xxxxxxxxxxxxxx> --- drivers/reset/reset-socfpga.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/reset/reset-socfpga.c b/drivers/reset/reset-socfpga.c index dd081ee84f72..b6faa0217ef2 100644 --- a/drivers/reset/reset-socfpga.c +++ b/drivers/reset/reset-socfpga.c @@ -113,6 +113,7 @@ static const struct of_device_id socfpga_reset_dt_ids[] = { }; static struct driver_d socfpga_reset_driver = { + .name = "socfpga_reset", .probe = socfpga_reset_probe, .of_compatible = DRV_OF_COMPAT(socfpga_reset_dt_ids), }; -- 2.11.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox