]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
OMAP2/3 clockdomains: combine pwrdm, pwrdm_name into union in struct clockdomain
authorPaul Walmsley <paul@pwsan.com>
Fri, 18 Jul 2008 08:22:07 +0000 (02:22 -0600)
committerTony Lindgren <tony@atomide.com>
Tue, 5 Aug 2008 13:27:32 +0000 (16:27 +0300)
commit718fc6cd4db902aa2242a736cc3feb8744a4c71a
tree6884e14f3bc24a17c014de954d1a339397c35e77
parent4703e73c0a81b6cc5b8b37b551bf3feb971f9d24
OMAP2/3 clockdomains: combine pwrdm, pwrdm_name into union in struct clockdomain

struct clockdomain contains a struct powerdomain *pwrdm and const char
*pwrdm_name.  The pwrdm_name is only used at initialization to look up
the appropriate pwrdm pointer.  Combining these into a union saves
about 100 bytes on 3430SDP.  This patch should not cause any change in
kernel function.

Boot-tested on 3430SDP ES2.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
size:
   text    data     bss     dec     hex filename
3391587  157104  107136 3655827  37c893 vmlinux.3430sdp.orig
3391555  157032  107136 3655723  37c82b vmlinux.3430sdp
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clockdomain.c
arch/arm/mach-omap2/clockdomains.h
include/asm-arm/arch-omap/clockdomain.h