diff options
Diffstat (limited to 'drivers/adc/exynos-adc.c')
-rw-r--r-- | drivers/adc/exynos-adc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/adc/exynos-adc.c b/drivers/adc/exynos-adc.c index 6bdc45a..6ae46ae 100644 --- a/drivers/adc/exynos-adc.c +++ b/drivers/adc/exynos-adc.c @@ -103,7 +103,7 @@ int exynos_adc_probe(struct udevice *dev) int exynos_adc_ofdata_to_platdata(struct udevice *dev) { - struct adc_uclass_platdata *uc_pdata = dev_get_uclass_platdata(dev); + struct adc_uclass_plat *uc_pdata = dev_get_uclass_plat(dev); struct exynos_adc_priv *priv = dev_get_priv(dev); priv->regs = dev_read_addr_ptr(dev); |