summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device.c b/src/device/device.c
index b896f5e683..02209d9e36 100644
--- a/src/device/device.c
+++ b/src/device/device.c
@@ -723,7 +723,7 @@ static void avoid_fixed_resources(const struct device *dev)
if (res->base > lim->base)
lim->base = res->base;
- if (res->limit < lim->limit)
+ if (res->limit < lim->limit)
lim->limit = res->limit;
}