summaryrefslogtreecommitdiffstats
path: root/drivers/pmdomain/xilinx/zynqmp-pm-domains.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pmdomain/xilinx/zynqmp-pm-domains.c')
-rw-r--r--drivers/pmdomain/xilinx/zynqmp-pm-domains.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pmdomain/xilinx/zynqmp-pm-domains.c b/drivers/pmdomain/xilinx/zynqmp-pm-domains.c
index 6fd514286d82..0b5831e5ba1b 100644
--- a/drivers/pmdomain/xilinx/zynqmp-pm-domains.c
+++ b/drivers/pmdomain/xilinx/zynqmp-pm-domains.c
@@ -210,7 +210,7 @@ static void zynqmp_gpd_detach_dev(struct generic_pm_domain *domain,
}
static struct generic_pm_domain *zynqmp_gpd_xlate
- (struct of_phandle_args *genpdspec, void *data)
+ (const struct of_phandle_args *genpdspec, void *data)
{
struct genpd_onecell_data *genpd_data = data;
unsigned int i, idx = genpdspec->args[0];