diff options
Diffstat (limited to 'common/cros_ec.c')
-rw-r--r-- | common/cros_ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cros_ec.c b/common/cros_ec.c index bb299bccfff..64b46796eff 100644 --- a/common/cros_ec.c +++ b/common/cros_ec.c @@ -35,7 +35,7 @@ struct cros_ec_dev *board_get_cros_ec_dev(void) debug("%s: Error %d\n", __func__, ret); return NULL; } - return dev->uclass_priv; + return dev_get_uclass_priv(dev); #else return local.cros_ec_dev; #endif |