diff options
author | Paul Walmsley <paul@pwsan.com> | 2009-12-09 02:33:13 +0300 |
---|---|---|
committer | paul <paul@twilight.(none)> | 2009-12-12 03:00:41 +0300 |
commit | 155a22ecd574c3e6a4c59e6a1bf0dd31ce23ff10 (patch) | |
tree | 387045a94976aa08bafd56f041c8ea8567762156 | |
parent | 2354eb5a943e64c5e6e249147381e9715aa5d54b (diff) | |
download | linux-155a22ecd574c3e6a4c59e6a1bf0dd31ce23ff10.tar.xz |
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>
-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 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 { /* Used to represent the OMAP chip types containing this pwrdm */ const struct omap_chip_id omap_chip; - /* Bit shift of this powerdomain's PM_WKDEP/CM_SLEEPDEP bit */ - const u8 dep_bit; - /* Powerdomains that can be told to wake this powerdomain up */ struct pwrdm_dep *wkdep_srcs; /* Powerdomains that can be told to keep this pwrdm from inactivity */ struct pwrdm_dep *sleepdep_srcs; + /* Bit shift of this powerdomain's PM_WKDEP/CM_SLEEPDEP bit */ + const u8 dep_bit; + /* Possible powerdomain power states */ const u8 pwrsts; |