diff options
Diffstat (limited to 'arch/arm/mach-imx/esdctl.c')
-rw-r--r-- | arch/arm/mach-imx/esdctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/esdctl.c b/arch/arm/mach-imx/esdctl.c index 0a71db66d7..a8ef854700 100644 --- a/arch/arm/mach-imx/esdctl.c +++ b/arch/arm/mach-imx/esdctl.c @@ -312,7 +312,7 @@ static int imx_esdctl_probe(struct device_d *dev) int ret; void *base; - ret = dev_get_drvdata(dev, (unsigned long *)&data); + ret = dev_get_drvdata(dev, (const void **)&data); if (ret) return ret; @@ -426,7 +426,7 @@ static struct platform_device_id imx_esdctl_ids[] = { static __maybe_unused struct of_device_id imx_esdctl_dt_ids[] = { { .compatible = "fsl,imx6q-mmdc", - .data = (unsigned long)&imx6q_data + .data = &imx6q_data }, { /* sentinel */ } |