summaryrefslogtreecommitdiff
path: root/drivers/cpu/cpu-uclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpu/cpu-uclass.c')
-rw-r--r--drivers/cpu/cpu-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpu/cpu-uclass.c b/drivers/cpu/cpu-uclass.c
index aa0267ca03..d6be9d4dcf 100644
--- a/drivers/cpu/cpu-uclass.c
+++ b/drivers/cpu/cpu-uclass.c
@@ -26,7 +26,7 @@ int cpu_get_info(struct udevice *dev, struct cpu_info *info)
{
struct cpu_ops *ops = cpu_get_ops(dev);
- if (!ops->get_desc)
+ if (!ops->get_info)
return -ENOSYS;
return ops->get_info(dev, info);