Skip to contentSkip to conversation

xtensa: fix prototype for ccount_read()

PATCH New Axel Lin 1 participant 1 message Sep 15, 2011 Tensilica Xtensa port (xtensa)

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 xtensa: fix prototype for ccount_read()

Quoted 1 line

From 02101fa01a443c224fd92bb49ff5ca9d64218c2b Mon Sep 17 00:00:00 2001

From: Axel Lin <[email protected]>
Date: Thu, 15 Sep 2011 14:39:26 +0800
Subject: [PATCH] xtensa: fix prototype for ccount_read()

---
 arch/xtensa/kernel/time.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/xtensa/kernel/time.c +1 -1
index f3e5eb4..db18807 100644
@@ -31,7 +31,7 @@ unsigned long ccount_per_jiffy;		/* per 1/HZ */
 unsigned long nsec_per_ccount;		/* nsec per ccount increment */
 #endif
 
-static cycle_t ccount_read(void)
+static cycle_t ccount_read(struct clocksource *cs)
 {
 	return (cycle_t)get_ccount();
 }
Signature · 1 line
1.7.4.1