summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r--src/mainboard/lenovo/x60/i915io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/x60/i915io.c b/src/mainboard/lenovo/x60/i915io.c
index 355286786a..b3c47b7b1e 100644
--- a/src/mainboard/lenovo/x60/i915io.c
+++ b/src/mainboard/lenovo/x60/i915io.c
@@ -2270,4 +2270,4 @@ struct iodef iodefs[] = {
{0,},
};
-int niodefs = sizeof(iodefs) / sizeof(iodefs[0]);
+int niodefs = ARRAY_SIZE(iodefs);