aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/powerdomain.h
diff options
context:
space:
mode:
authorPaul Walmsley <paul@pwsan.com>2009-12-08 18:33:13 -0500
committerpaul <paul@twilight.(none)>2009-12-11 19:00:41 -0500
commit155a22ecd574c3e6a4c59e6a1bf0dd31ce23ff10 (patch)
tree387045a94976aa08bafd56f041c8ea8567762156 /arch/arm/plat-omap/include/plat/powerdomain.h
parent2354eb5a943e64c5e6e249147381e9715aa5d54b (diff)
OMAP powerdomain: rearrange struct powerdomain to save some memory
This patch rearranges the order of structure members in struct powerdomain to avoid wasting memory due to alignment restrictions. Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/powerdomain.h')
-rw-r--r--arch/arm/plat-omap/include/plat/powerdomain.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/plat/powerdomain.h b/arch/arm/plat-omap/include/plat/powerdomain.h
index 5a80ddb4bb7e..56bb1b9bf2b5 100644
--- a/arch/arm/plat-omap/include/plat/powerdomain.h
+++ b/arch/arm/plat-omap/include/plat/powerdomain.h
@@ -87,15 +87,15 @@ struct powerdomain {
87 /* Used to represent the OMAP chip types containing this pwrdm */ 87 /* Used to represent the OMAP chip types containing this pwrdm */
88 const struct omap_chip_id omap_chip; 88 const struct omap_chip_id omap_chip;
89 89
90 /* Bit shift of this powerdomain's PM_WKDEP/CM_SLEEPDEP bit */
91 const u8 dep_bit;
92
93 /* Powerdomains that can be told to wake this powerdomain up */ 90 /* Powerdomains that can be told to wake this powerdomain up */
94 struct pwrdm_dep *wkdep_srcs; 91 struct pwrdm_dep *wkdep_srcs;
95 92
96 /* Powerdomains that can be told to keep this pwrdm from inactivity */ 93 /* Powerdomains that can be told to keep this pwrdm from inactivity */
97 struct pwrdm_dep *sleepdep_srcs; 94 struct pwrdm_dep *sleepdep_srcs;
98 95
96 /* Bit shift of this powerdomain's PM_WKDEP/CM_SLEEPDEP bit */
97 const u8 dep_bit;
98
99 /* Possible powerdomain power states */ 99 /* Possible powerdomain power states */
100 const u8 pwrsts; 100 const u8 pwrsts;
101 101