diff options
Diffstat (limited to 'src/mainboard/msi/ms9185/resourcemap.c')
-rw-r--r-- | src/mainboard/msi/ms9185/resourcemap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/msi/ms9185/resourcemap.c b/src/mainboard/msi/ms9185/resourcemap.c index cec820bb37..01bd1f3e71 100644 --- a/src/mainboard/msi/ms9185/resourcemap.c +++ b/src/mainboard/msi/ms9185/resourcemap.c @@ -285,7 +285,7 @@ static void setup_ms9185_resource_map(void) }; int max; - max = sizeof(register_values)/sizeof(register_values[0]); + max = ARRAY_SIZE(register_values); setup_resource_map(register_values, max); } |