summaryrefslogtreecommitdiff
path: root/arch/x86/lib/mpspec.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/mpspec.c')
-rw-r--r--arch/x86/lib/mpspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/mpspec.c b/arch/x86/lib/mpspec.c
index 0faa582..6ab43f1 100644
--- a/arch/x86/lib/mpspec.c
+++ b/arch/x86/lib/mpspec.c
@@ -297,7 +297,7 @@ static int mptable_add_intsrc(struct mp_config_table *mc,
const u32 *cell;
int i, ret;
- ret = uclass_first_device(UCLASS_IRQ, &dev);
+ ret = uclass_first_device_err(UCLASS_IRQ, &dev);
if (ret && ret != -ENODEV) {
debug("%s: Cannot find irq router node\n", __func__);
return ret;