From b43b7dfe5cafec4407c5b8d83993d68d1eaf0341 Mon Sep 17 00:00:00 2001 From: Alejandro Martinez Ruiz Date: Mon, 22 Oct 2007 21:18:24 +0200 Subject: [PATCH] --- yaml --- r: 72206 b: refs/heads/master c: 2298a1dd819213802b8a7f955f9b382f5e92127a h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/avr32/mach-at32ap/time-tc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ebb73b97d878..7c897d6dd794 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: eaf5f925a31973e2fdc50c785665b90ff444eceb +refs/heads/master: 2298a1dd819213802b8a7f955f9b382f5e92127a diff --git a/trunk/arch/avr32/mach-at32ap/time-tc.c b/trunk/arch/avr32/mach-at32ap/time-tc.c index e3070bdd4bb9..10265863c982 100644 --- a/trunk/arch/avr32/mach-at32ap/time-tc.c +++ b/trunk/arch/avr32/mach-at32ap/time-tc.c @@ -79,7 +79,7 @@ static int avr32_timer_calc_div_and_set_jiffies(struct clk *pclk) { unsigned int cycles_max = (clocksource_avr32.mask + 1) / 2; unsigned int divs[] = { 4, 8, 16, 32 }; - int divs_size = sizeof(divs) / sizeof(*divs); + int divs_size = ARRAY_SIZE(divs); int i = 0; unsigned long count_hz; unsigned long shift;