From 70f3fcaf8648230a5cd27a9da151494d6df3016f Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Wed, 18 Apr 2012 13:03:38 -0700 Subject: Add hooks module so modules can be notified of system-level events. This will be used for sleep/wake/sysjump/etc. For now it's just wired up to clock frequency changing. Signed-off-by: Randall Spangler BUG=none TEST=manual: use nopll command, should still work Change-Id: Iedcea5830bc18eacfd955c29b8f793aba8905dd8 --- include/hwtimer.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'include/hwtimer.h') diff --git a/include/hwtimer.h b/include/hwtimer.h index 5fee466b7c..ae0c634163 100644 --- a/include/hwtimer.h +++ b/include/hwtimer.h @@ -5,8 +5,8 @@ /* Hardware timer driver API */ -#ifndef __EC_HWTIMER_H -#define __EC_HWTIMER_H +#ifndef __CROS_EC_HWTIMER_H +#define __CROS_EC_HWTIMER_H /** * Programs when the next timer should fire an interrupt. @@ -30,9 +30,6 @@ uint32_t __hw_clock_source_read(void); */ int __hw_clock_source_init(void); -/* Notifies the module the system clock frequency has changed to . */ -void hwtimer_clock_changed(int freq); - /** * Searches the next deadline and program it in the timer hardware. * @@ -43,4 +40,4 @@ void hwtimer_clock_changed(int freq); */ void process_timers(int overflow); -#endif /* __EC_HWTIMER_H */ +#endif /* __CROS_EC_HWTIMER_H */ -- cgit v1.2.1