ソースを参照

arm: footbridge: Make cksrc_dc21285_disable() void

This clocksource function needs to be void.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Thomas Gleixner 14 年 前
コミット
f2e0bf2181
1 ファイル変更1 行追加1 行削除
  1. 1 1
      arch/arm/mach-footbridge/dc21285-timer.c

+ 1 - 1
arch/arm/mach-footbridge/dc21285-timer.c

@@ -30,7 +30,7 @@ static int cksrc_dc21285_enable(struct clocksource *cs)
 	return 0;
 }
 
-static int cksrc_dc21285_disable(struct clocksource *cs)
+static void cksrc_dc21285_disable(struct clocksource *cs)
 {
 	*CSR_TIMER2_CNTL = 0;
 }