summaryrefslogtreecommitdiff
path: root/drivers/adc/exynos-adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/adc/exynos-adc.c')
-rw-r--r--drivers/adc/exynos-adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/adc/exynos-adc.c b/drivers/adc/exynos-adc.c
index 6bdc45a5fc..6ae46aed15 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);