aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/clock2xxx.c
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2010-01-26 22:13:10 -0500
committerPaul Walmsley <paul@pwsan.com>2010-01-29 12:14:22 -0500
commitda4d2904abc0c31ac829e9c6d52106d5a6606507 (patch)
tree9093eb1ce3faebe32e7eb80bf67b82e0007363f7 /arch/arm/mach-omap2/clock2xxx.c
parent4680c29f69e981106da2abfea7f1a3e6f1b03791 (diff)
OMAP2/3 clock: remove unnecessary includes and clean up header
Now that almost all of the code has been removed from clock2xxx.c and clock34xx.c, many of the includes are now unnecessary and can be removed. While we're here, standardize the initial comment blocks. Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: Richard Woodruff <r-woodruff2@ti.com> Cc: Jouni Högander <jouni.hogander@nokia.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock2xxx.c')
-rw-r--r--arch/arm/mach-omap2/clock2xxx.c35
1 files changed, 10 insertions, 25 deletions
diff --git a/arch/arm/mach-omap2/clock2xxx.c b/arch/arm/mach-omap2/clock2xxx.c
index b7e81ec3d819..e98f48b0a5c6 100644
--- a/arch/arm/mach-omap2/clock2xxx.c
+++ b/arch/arm/mach-omap2/clock2xxx.c
@@ -1,15 +1,15 @@
1/* 1/*
2 * linux/arch/arm/mach-omap2/clock.c 2 * clock2xxx.c - OMAP2xxx-specific clock integration code
3 * 3 *
4 * Copyright (C) 2005-2008 Texas Instruments, Inc. 4 * Copyright (C) 2005-2008 Texas Instruments, Inc.
5 * Copyright (C) 2004-2008 Nokia Corporation 5 * Copyright (C) 2004-2010 Nokia Corporation
6 * 6 *
7 * Contacts: 7 * Contacts:
8 * Richard Woodruff <r-woodruff2@ti.com> 8 * Richard Woodruff <r-woodruff2@ti.com>
9 * Paul Walmsley 9 * Paul Walmsley
10 * 10 *
11 * Based on earlier work by Tuukka Tikkanen, Tony Lindgren, 11 * Based on earlier work by Tuukka Tikkanen, Tony Lindgren,
12 * Gordon McNutt and RidgeRun, Inc. 12 * Gordon McNutt and RidgeRun, Inc.
13 * 13 *
14 * This program is free software; you can redistribute it and/or modify 14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License version 2 as 15 * it under the terms of the GNU General Public License version 2 as
@@ -17,38 +17,23 @@
17 */ 17 */
18#undef DEBUG 18#undef DEBUG
19 19
20#include <linux/module.h>
21#include <linux/kernel.h> 20#include <linux/kernel.h>
22#include <linux/device.h>
23#include <linux/list.h>
24#include <linux/errno.h> 21#include <linux/errno.h>
25#include <linux/delay.h>
26#include <linux/clk.h> 22#include <linux/clk.h>
27#include <linux/io.h> 23#include <linux/io.h>
28#include <linux/cpufreq.h>
29#include <linux/bitops.h>
30 24
31#include <plat/clock.h> 25#include <plat/clock.h>
32#include <plat/sram.h>
33#include <plat/prcm.h>
34#include <plat/clkdev_omap.h>
35#include <asm/div64.h>
36#include <asm/clkdev.h>
37 26
38#include <plat/sdrc.h>
39#include "clock.h" 27#include "clock.h"
40#include "clock2xxx.h" 28#include "clock2xxx.h"
41#include "opp2xxx.h"
42#include "prm.h"
43#include "prm-regbits-24xx.h"
44#include "cm.h" 29#include "cm.h"
45#include "cm-regbits-24xx.h" 30#include "cm-regbits-24xx.h"
46 31
47struct clk *vclk, *sclk, *dclk; 32struct clk *vclk, *sclk, *dclk;
48 33
49/*------------------------------------------------------------------------- 34/*
50 * Omap24xx specific clock functions 35 * Omap24xx specific clock functions
51 *-------------------------------------------------------------------------*/ 36 */
52 37
53#ifdef CONFIG_ARCH_OMAP2430 38#ifdef CONFIG_ARCH_OMAP2430
54 39