diff options
Diffstat (limited to 'src/mainboard/tyan/s2891/resourcemap.c')
-rw-r--r-- | src/mainboard/tyan/s2891/resourcemap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/tyan/s2891/resourcemap.c b/src/mainboard/tyan/s2891/resourcemap.c index 312ce03..f7929b9 100644 --- a/src/mainboard/tyan/s2891/resourcemap.c +++ b/src/mainboard/tyan/s2891/resourcemap.c @@ -260,7 +260,7 @@ static void setup_s2891_resource_map(void) }; int max; - max = sizeof(register_values)/sizeof(register_values[0]); + max = ARRAY_SIZE(register_values); setup_resource_map(register_values, max); } |