Commit 167bfb35 authored by Ben Dooks's avatar Ben Dooks Committed by Russell King

[ARM PATCH] 2372/1: S3C2410 - remove s3c2410_clock_tick_rate

Patch from Ben Dooks

This is an old definition, and is no longer used anywhere.
Add a comment to that effect in the header file
include/asm-arm/arch-s3c2410/timex.h and remove all other
references.

Thanks to Klaus Fetscher for pointing out that it isn't
used anymore

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
parent 1c57b803
/* linux/arch/arm/mach-s3c2410/s3c2410.c
*
* Copyright (c) 2003,2004 Simtec Electronics
* Copyright (c) 2003-2005 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* http://www.simtec.co.uk/products/EB2410ITX/
......@@ -17,6 +17,7 @@
* 21-Aug-2004 BJD Added new struct s3c2410_board handler
* 28-Sep-2004 BJD Updates for new serial port bits
* 04-Nov-2004 BJD Updated UART configuration process
* 10-Jan-2004 BJD Removed s3c2410_clock_tick_rate
*/
#include <linux/kernel.h>
......@@ -42,8 +43,6 @@
#include "cpu.h"
#include "clock.h"
int s3c2410_clock_tick_rate = 12*1000*1000; /* current timers at 12MHz */
/* Initial IO mappings */
static struct map_desc s3c2410_iodesc[] __initdata = {
......
/* linux/include/asm-arm/arch-s3c2410/timex.h
*
* (c) 2003,2004 Simtec Electronics
* (c) 2003-2005 Simtec Electronics
* Ben Dooks <ben@simtec.co.uk>
*
* S3C2410 - time parameters
......@@ -13,21 +13,19 @@
* 02-Sep-2003 BJD Created file
* 05-Jan-2004 BJD Updated for Linux 2.6.0
* 22-Nov-2004 BJD Fixed CLOCK_TICK_RATE
* 10-Jan-2004 BJD Removed s3c2410_clock_tick_rate
*/
#ifndef __ASM_ARCH_TIMEX_H
#define __ASM_ARCH_TIMEX_H
#if 0
/* todo - this does not seem to work with 2.6.0 -> division by zero
* in header files
*/
extern int s3c2410_clock_tick_rate;
/* CLOCK_TICK_RATE needs to be evaluatable by the cpp, so making it
* a variable is useless. It seems as long as we make our timers an
* exact multiple of HZ, any value that makes a 1->1 correspondence
* for the time conversion functions to/from jiffies is acceptable.
*/
#define CLOCK_TICK_RATE (s3c2410_clock_tick_rate)
#endif
/* currently, the BAST uses 12MHz as a base clock rate */
#define CLOCK_TICK_RATE 12000000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment