Skip to content

Commit f32ec77

Browse files
committed
[MIPS] RM200: Give RM200 it's own timex.h.
So we can get rid of config.h and the #ifdef crapola in the generic timex.h. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 5552c28 commit f32ec77

2 files changed

Lines changed: 14 additions & 10 deletions

File tree

‎include/asm-mips/mach-generic/timex.h‎

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,11 @@
33
* License. See the file "COPYING" in the main directory of this archive
44
* for more details.
55
*
6-
* Copyright (C) 2003 by Ralf Baechle
6+
* Copyright (C) 2003, 2005 by Ralf Baechle
77
*/
88
#ifndef __ASM_MACH_GENERIC_TIMEX_H
99
#define __ASM_MACH_GENERIC_TIMEX_H
1010

11-
#include <linux/config.h>
12-
13-
/*
14-
* Last remaining user of the i8254 PIC, will be converted, too ...
15-
*/
16-
#ifdef CONFIG_SNI_RM200_PCI
17-
#define CLOCK_TICK_RATE 1193182
18-
#else
1911
#define CLOCK_TICK_RATE 500000
20-
#endif
2112

2213
#endif /* __ASM_MACH_GENERIC_TIMEX_H */
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* This file is subject to the terms and conditions of the GNU General Public
3+
* License. See the file "COPYING" in the main directory of this archive
4+
* for more details.
5+
*
6+
* Copyright (C) 2003, 2005 by Ralf Baechle
7+
*/
8+
#ifndef __ASM_MACH_RM200_TIMEX_H
9+
#define __ASM_MACH_RM200_TIMEX_H
10+
11+
#define CLOCK_TICK_RATE 1193182
12+
13+
#endif /* __ASM_MACH_RM200_TIMEX_H */

0 commit comments

Comments
 (0)