Commit ca3b0d2f authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by Russell King

[ARM PATCH] 2351/1: fix compilation for ixp2000 enp2611 and ixdp2400 platforms

Patch from Lennert Buytenhek

Instead of 'struct sys_timer', the ixdp2400 code has 'struct timer' and the enp2611 has just 'struct', preventing compilation for both machine types.  This patch fixes it up.

Signed-off-by: Lennert Buytenhek
Signed-off-by: Russell King
parent debb1dec
......@@ -57,7 +57,7 @@ static void __init enp2611_timer_init(void)
ixp2000_init_time(50 * 1000 * 1000);
}
static struct enp2611_timer = {
static struct sys_timer enp2611_timer = {
.init = enp2611_timer_init,
.offset = ixp2000_gettimeoffset,
};
......
......@@ -56,7 +56,7 @@ static void __init ixdp2400_timer_init(void)
ixp2000_init_time(((3125000 * numerator) / (denominator)) / 2);
}
static struct timer ixdp2400_timer = {
static struct sys_timer ixdp2400_timer = {
.init = ixdp2400_timer_init,
.offset = ixp2000_gettimeoffset,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment