diff options
Diffstat (limited to 'drivers/adc/sandbox.c')
-rw-r--r-- | drivers/adc/sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/adc/sandbox.c b/drivers/adc/sandbox.c index 14f2c2a..905ce4f 100644 --- a/drivers/adc/sandbox.c +++ b/drivers/adc/sandbox.c @@ -137,7 +137,7 @@ int sandbox_adc_probe(struct udevice *dev) int sandbox_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); uc_pdata->data_mask = SANDBOX_ADC_DATA_MASK; uc_pdata->data_format = ADC_DATA_FORMAT_BIN; |