diff options
author | Paul Walmsley <paul@pwsan.com> | 2010-01-26 22:13:01 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2010-01-26 22:13:01 -0500 |
commit | e0594b448a040473fdc283934df66811f497a275 (patch) | |
tree | a1926235ad6f48e8226da6febda973938600efc3 /arch/arm | |
parent | cf57aa7c5453e786acd37edea8acdd9497c708d6 (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')
-rw-r--r-- | arch/arm/plat-omap/include/plat/powerdomain.h | 6 |
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 { | |||
73 | /* Powerdomain name */ | 73 | /* Powerdomain name */ |
74 | const char *name; | 74 | const char *name; |
75 | 75 | ||
76 | /* the address offset from CM_BASE/PRM_BASE */ | ||
77 | const s16 prcm_offs; | ||
78 | |||
79 | /* Used to represent the OMAP chip types containing this pwrdm */ | 76 | /* Used to represent the OMAP chip types containing this pwrdm */ |
80 | const struct omap_chip_id omap_chip; | 77 | const struct omap_chip_id omap_chip; |
81 | 78 | ||
79 | /* the address offset from CM_BASE/PRM_BASE */ | ||
80 | const s16 prcm_offs; | ||
81 | |||
82 | /* Possible powerdomain power states */ | 82 | /* Possible powerdomain power states */ |
83 | const u8 pwrsts; | 83 | const u8 pwrsts; |
84 | 84 | ||