mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
36ddf31b68
This adds a relatively simplistic clock framework for sh. The initial goal behind this is to clean up the arch/sh/kernel/time.c mess and to get the CPU subtype-specific frequency setting and calculation code moved somewhere more sensible. This only deals with the core clocks at the moment, though it's trivial for other drivers to define their own clocks as desired. Signed-off-by: Paul Mundt <lethal@linux-sh.org> Cc: john stultz <johnstul@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 lines
476 B
C
19 lines
476 B
C
/*
|
|
* include/asm-sh/freq.h
|
|
*
|
|
* Copyright (C) 2002, 2003 Paul Mundt
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
* option) any later version.
|
|
*/
|
|
#ifndef __ASM_SH_FREQ_H
|
|
#define __ASM_SH_FREQ_H
|
|
#ifdef __KERNEL__
|
|
|
|
#include <asm/cpu/freq.h>
|
|
|
|
#endif /* __KERNEL__ */
|
|
#endif /* __ASM_SH_FREQ_H */
|