diff options
Diffstat (limited to 'src/mainboard/msi/ms7260/resourcemap.c')
-rw-r--r-- | src/mainboard/msi/ms7260/resourcemap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/msi/ms7260/resourcemap.c b/src/mainboard/msi/ms7260/resourcemap.c index 5035ac8..d72530a 100644 --- a/src/mainboard/msi/ms7260/resourcemap.c +++ b/src/mainboard/msi/ms7260/resourcemap.c @@ -278,6 +278,6 @@ static void setup_mb_resource_map(void) }; - int max = sizeof(register_values) / sizeof(register_values[0]); + int max = ARRAY_SIZE(register_values); setup_resource_map(register_values, max); } |