[PATCH] mfd: da9063: Fix compilation

Sascha Hauer s.hauer at pengutronix.de
Thu Apr 12 00:09:27 PDT 2018


Fixes: 1ef7cd07a3 watchdog: rename dev to hwdev

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/mfd/da9063.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/da9063.c b/drivers/mfd/da9063.c
index 4a335c9983..ac303611c0 100644
--- a/drivers/mfd/da9063.c
+++ b/drivers/mfd/da9063.c
@@ -126,7 +126,7 @@ static int da9063_probe(struct device_d *dev)
 	priv = xzalloc(sizeof(struct da9063));
 	priv->wd.priority = of_get_watchdog_priority(dev->device_node);
 	priv->wd.set_timeout = da9063_watchdog_set_timeout;
-	priv->wd.dev = dev;
+	priv->wd.hwdev = dev;
 	priv->client = to_i2c_client(dev);
 	priv->dev = dev;
 
-- 
2.16.1




More information about the barebox mailing list