summaryrefslogtreecommitdiffstats
path: root/drivers/reset
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2018-07-27 11:54:56 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-08-08 09:02:49 +0200
commitde2d437fd4193a67a1aacea214ed3a9d8b874922 (patch)
treed0d91c7ae88108301714ead6112c6e17cade4c11 /drivers/reset
parent3034e8d84caa542960e05589c327a6550bc16a4c (diff)
downloadbarebox-de2d437fd4193a67a1aacea214ed3a9d8b874922.tar.gz
reset: socfpga: add missing driver name
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@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/reset-socfpga.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/reset/reset-socfpga.c b/drivers/reset/reset-socfpga.c
index dd081ee..b6faa02 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),
};