Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph...
[pandora-kernel.git] / arch / arm / mach-omap2 / cm44xx.h
1 /*
2  * OMAP4 Clock Management (CM) definitions
3  *
4  * Copyright (C) 2007-2009 Texas Instruments, Inc.
5  * Copyright (C) 2007-2009 Nokia Corporation
6  *
7  * Written by Paul Walmsley
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License version 2 as
11  * published by the Free Software Foundation.
12  *
13  * OMAP4 has two separate CM blocks, CM1 and CM2.  This file contains
14  * macros and function prototypes that are applicable to both.
15  */
16 #ifndef __ARCH_ASM_MACH_OMAP2_CM44XX_H
17 #define __ARCH_ASM_MACH_OMAP2_CM44XX_H
18
19
20 #include "prcm-common.h"
21 #include "cm.h"
22
23 #define OMAP4_CM_CLKSTCTRL                              0x0000
24
25 /* Function prototypes */
26 # ifndef __ASSEMBLER__
27
28 extern int omap4_cm_wait_module_ready(void __iomem *clkctrl_reg);
29
30 # endif
31 #endif