aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/powerdomains.h
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2010-12-21 23:05:16 -0500
committerPaul Walmsley <paul@pwsan.com>2010-12-21 23:05:16 -0500
commit72e06d087204f3bc9acf281717b90ebf0b9731f7 (patch)
tree358524d58e5fdb906507ffc9549758c14fce9fbe /arch/arm/mach-omap2/powerdomains.h
parent1540f214065982e6cbc6b8da1fe65a15e358f7c5 (diff)
OMAP2+: powerdomain: move header file from plat-omap to mach-omap2
The OMAP powerdomain code and data is all OMAP2+-specific. This seems unlikely to change any time soon. Move plat-omap/include/plat/powerdomain.h to mach-omap2/powerdomain.h. The primary point of doing this is to remove the temptation for unrelated upper-layer code to access powerdomain code and data directly. As part of this process, remove the references to powerdomain data from the GPIO "driver" and the OMAP PM no-op layer, both in plat-omap. Change the DSPBridge code to point to the new location for the powerdomain headers. The DSPBridge code should not be including the powerdomain headers; these should be removed. Signed-off-by: Paul Walmsley <paul@pwsan.com> Cc: Kevin Hilman <khilman@deeprootsystems.com> Cc: Omar Ramirez Luna <omar.ramirez@ti.com> Cc: Felipe Contreras <felipe.contreras@gmail.com> Cc: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'arch/arm/mach-omap2/powerdomains.h')
-rw-r--r--arch/arm/mach-omap2/powerdomains.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/arch/arm/mach-omap2/powerdomains.h b/arch/arm/mach-omap2/powerdomains.h
deleted file mode 100644
index f83adaf889ee..000000000000
--- a/arch/arm/mach-omap2/powerdomains.h
+++ /dev/null
@@ -1,30 +0,0 @@
1/*
2 * OMAP2+ powerdomain prototypes
3 *
4 * Copyright (C) 2010 Texas Instruments, Inc.
5 *
6 * Rajendra Nayak <rnayak@ti.com>
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 */
12
13#ifndef ARCH_ARM_MACH_OMAP2_POWERDOMAINS_H
14#define ARCH_ARM_MACH_OMAP2_POWERDOMAINS_H
15
16#include <plat/powerdomain.h>
17
18extern struct pwrdm_ops omap2_pwrdm_operations;
19extern struct pwrdm_ops omap3_pwrdm_operations;
20extern struct pwrdm_ops omap4_pwrdm_operations;
21
22/* Common Internal functions used across OMAP rev's */
23extern u32 omap2_pwrdm_get_mem_bank_onstate_mask(u8 bank);
24extern u32 omap2_pwrdm_get_mem_bank_retst_mask(u8 bank);
25extern u32 omap2_pwrdm_get_mem_bank_stst_mask(u8 bank);
26
27extern struct powerdomain wkup_omap2_pwrdm;
28extern struct powerdomain gfx_omap2_pwrdm;
29
30#endif