From 424b2fe9399e045b17baf6d0ffc167af68af10f3 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 18 May 2017 20:09:49 -0600 Subject: dm: power-domain: Update uclass to support livetree Update the power domain uclass to support livetree. Fix the xlate() method which has no callers. Signed-off-by: Simon Glass --- include/power-domain-uclass.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/power-domain-uclass.h') diff --git a/include/power-domain-uclass.h b/include/power-domain-uclass.h index 5878021e32..802233d17f 100644 --- a/include/power-domain-uclass.h +++ b/include/power-domain-uclass.h @@ -40,7 +40,7 @@ struct power_domain_ops { * @return 0 if OK, or a negative error code. */ int (*of_xlate)(struct power_domain *power_domain, - struct fdtdec_phandle_args *args); + struct ofnode_phandle_args *args); /** * request - Request a translated power domain. * -- cgit v1.2.3