summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/powerdomain.h
diff options
context:
space:
mode:
authorPaul Walmsley2010-01-27 04:13:01 +0100
committerPaul Walmsley2010-01-27 04:13:01 +0100
commite0594b448a040473fdc283934df66811f497a275 (patch)
treea1926235ad6f48e8226da6febda973938600efc3 /arch/arm/plat-omap/include/plat/powerdomain.h
parentOMAP powerdomain/PM: use symbolic constants for the max number of power states (diff)
downloadkernel-qcow2-linux-e0594b448a040473fdc283934df66811f497a275.tar.gz
kernel-qcow2-linux-e0594b448a040473fdc283934df66811f497a275.tar.xz
kernel-qcow2-linux-e0594b448a040473fdc283934df66811f497a275.zip
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 c590e2fc140f..87e13f88994f 100644
--- a/arch/arm/plat-omap/include/plat/powerdomain.h
+++ b/arch/arm/plat-omap/include/plat/powerdomain.h
@@ -73,12 +73,12 @@ struct powerdomain {
/* Powerdomain name */
const char *name;
- /* the address offset from CM_BASE/PRM_BASE */
- const s16 prcm_offs;
-
/* Used to represent the OMAP chip types containing this pwrdm */
const struct omap_chip_id omap_chip;
+ /* the address offset from CM_BASE/PRM_BASE */
+ const s16 prcm_offs;
+
/* Possible powerdomain power states */
const u8 pwrsts;