Skip to content

Commit

Permalink
OMAP powerdomain: rearrange struct powerdomain to save some memory
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Walmsley committed Jan 27, 2010
1 parent cf57aa7 commit e0594b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm/plat-omap/include/plat/powerdomain.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e0594b4

Please sign in to comment.