#include <linux/list.h>
#include <linux/errno.h>
#include <linux/delay.h>
+#include <linux/clk.h>
#include <asm/io.h>
-#include <asm/hardware/clock.h>
#include <asm/arch/clock.h>
#include <asm/arch/sram.h>
#include <linux/config.h>
#include <linux/module.h>
#include <linux/init.h>
-#include <asm/hardware/clock.h>
+#include <linux/clk.h>
#include "prcm-regs.h"
static struct clk_functions *arch_clock;
/*-------------------------------------------------------------------------
- * Standard clock functions defined in asm/hardware/clock.h
+ * Standard clock functions defined in include/linux/clk.h
*-------------------------------------------------------------------------*/
struct clk * clk_get(struct device *dev, const char *id)
EXPORT_SYMBOL(clk_put);
/*-------------------------------------------------------------------------
- * Optional clock functions defined in asm/hardware/clock.h
+ * Optional clock functions defined in include/linux/clk.h
*-------------------------------------------------------------------------*/
long clk_round_rate(struct clk *clk, unsigned long rate)
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/mm.h>
+#include <linux/clk.h>
#include <asm/io.h>
#include <asm/tlbflush.h>
#include <asm/irq.h>
#include <asm/arch/dsp.h>
#include <asm/arch/tc.h>
-#include <asm/hardware/clock.h>
#include "dsp_common.h"
struct clk *dsp_ck_handle;
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
+#include <linux/clk.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <asm/ioctls.h>
-#include <asm/hardware/clock.h>
#include <asm/arch/dsp.h>
#include "hardware_dsp.h"
#include "dsp.h"
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
+#include <linux/clk.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <asm/ioctls.h>
#include <asm/irq.h>
#include <asm/pgalloc.h>
#include <asm/pgtable.h>
-#include <asm/hardware/clock.h>
#include <asm/arch/tc.h>
#include <asm/arch/dsp.h>
#include <asm/arch/dsp_common.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/err.h>
+#include <linux/clk.h>
#include <asm/system.h>
#include <asm/hardware.h>
#include <asm/irq.h>
#include <asm/mach/irq.h>
#include <asm/mach/time.h>
-#include <asm/hardware/clock.h>
struct sys_timer omap_timer;
#include <linux/i2c.h>
#include <linux/workqueue.h>
#include <linux/kobject_uevent.h>
+#include <linux/clk.h>
#include <asm/irq.h>
#include <asm/semaphore.h>
#include <asm/arch/usb.h>
-#include <asm/hardware/clock.h>
#include "cbus.h"
#include "tahvo.h"
#include <linux/init.h>
#include <linux/random.h>
#include <linux/err.h>
+#include <linux/clk.h>
#include <asm/io.h>
-#include <asm/hardware/clock.h>
#if defined (CONFIG_ARCH_OMAP16XX)
#define RNG_BASE 0xfffe5000
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/moduleparam.h>
+#include <linux/clk.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <asm/hardware.h>
#include <asm/bitops.h>
-#include <asm/hardware/clock.h>
#include <asm/arch/prcm.h>
#include <linux/interrupt.h>
#include <linux/completion.h>
#include <linux/platform_device.h>
+#include <linux/clk.h>
#include <asm/io.h>
-#include <asm/hardware/clock.h>
/* ----- global defines ----------------------------------------------- */
static const char driver_name[] = "i2c_omap";
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/interrupt.h>
+#include <linux/clk.h>
#include <asm/arch/irqs.h>
#include <asm/arch/dma.h>
#include <asm/io.h>
#include <asm/scatterlist.h>
#include <asm/mach-types.h>
-#include <asm/hardware/clock.h>
#include "omap16xxcam.h"
#include "camera_hw_if.h"
#include <linux/mmc/host.h>
#include <linux/mmc/protocol.h>
#include <linux/mmc/card.h>
+#include <linux/clk.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/arch/tps65010.h>
#include <asm/arch/menelaus.h>
-#include <asm/hardware/clock.h>
-
#include "omap.h"
#define DRIVER_NAME "mmci-omap"
#include <linux/mtd/partitions.h>
#include <linux/mtd/nand_ecc.h>
#include <linux/dma-mapping.h>
+#include <linux/clk.h>
#include <asm/io.h>
#include <asm/arch/board.h>
#include <asm/arch/dma.h>
-#include <asm/hardware/clock.h>
#define NAND_BASE 0xfffbcc00
#define NND_REVISION 0x00
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/delay.h>
+#include <linux/clk.h>
#include <asm/system.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/mach-types.h>
#include <asm/hardware.h>
-#include <asm/hardware/clock.h>
#include <asm/arch/mux.h>
#include <asm/arch/io.h>
#include <linux/usb_gadget.h>
#include <linux/usb_otg.h>
#include <linux/dma-mapping.h>
+#include <linux/clk.h>
#include <asm/byteorder.h>
#include <asm/io.h>
#include <asm/system.h>
#include <asm/unaligned.h>
#include <asm/mach-types.h>
-#include <asm/hardware/clock.h>
#include <asm/arch/dma.h>
#include <asm/arch/usb.h>
#include <linux/kernel.h>
#include <linux/dma-mapping.h>
+#include <linux/clk.h>
#include <asm/io.h>
#include <asm/arch/omapfb.h>
-#include <asm/hardware/clock.h>
-
#include "dispc.h"
/* #define OMAPFB_DBG 2 */
#include <linux/mm.h>
#include <linux/fb.h>
#include <linux/dma-mapping.h>
+#include <linux/clk.h>
#include <asm/arch/dma.h>
#include <asm/arch/omapfb.h>
#include <asm/mach-types.h>
-#include <asm/hardware/clock.h>
/* #define OMAPFB_DBG 2 */
#include <linux/i2c.h>
#include <linux/err.h>
#include <linux/interrupt.h>
+#include <linux/clk.h>
#include <asm/io.h>
-#include <asm/hardware/clock.h>
#include <asm/arch/omapfb.h>
#include <linux/config.h>
#include <linux/module.h>
#include <linux/mm.h>
-#include <asm/hardware/clock.h>
+#include <linux/clk.h>
+
#include <asm/io.h>
#include "sossi.h"
#ifndef __ASSEMBLER__
-#include <asm/hardware/clock.h>
+#include <linux/clk.h>
extern void prevent_idle_sleep(void);
extern void allow_idle_sleep(void);
#include <linux/ioctl.h>
#include <linux/delay.h>
#include <linux/slab.h>
+#include <linux/clk.h>
#ifdef CONFIG_PM
#include <linux/pm.h>
#include <asm/mach-types.h>
#include <asm/arch/dma.h>
#include <asm/arch/aic23.h>
-#include <asm/hardware/clock.h>
#include <asm/arch/mcbsp.h>
#include <sound/core.h>
#include <linux/errno.h>
#include <linux/sound.h>
#include <linux/soundcard.h>
+#include <linux/clk.h>
#include <asm/uaccess.h>
#include <asm/hardware.h>
#include <asm/arch/fpga.h>
#include <asm/arch/aic23.h>
-#include <asm/hardware/clock.h>
-
#include "omap-audio.h"
#include "omap-audio-dma-intfc.h"