public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* prcm_34xx.c--compiler error
@ 2008-11-25  4:22 Sam Duan
  0 siblings, 0 replies; only message in thread
From: Sam Duan @ 2008-11-25  4:22 UTC (permalink / raw)
  To: linux-omap

Hi All,

I am new here, pardon me if this mail is not suitable and please point out
to me.
When CONFIG_OMAP3_PM was enabled with omapkernel2.6.27 for omapzoom
board(configured with "omap_ldp_pm_defconfig"), I got errors: "initializer
element is not constant" from line 66 to line 467 in prcm_34xx.c. All errors
relates to initialization for dom_reg[].regdef[].reg_addr,
dpll_reg[].regdef[].reg_addr, clksel_reg[].reg_addr..if we missed some
initialization in prcm-regs.h(line 40) for "typedef struct { volatile u32
offset[4096]; } __regbase32;"? I am not clear how the initialization
working.
The kernel can be built OK with "omap_ldp_defconfig" following steps in
"Getting Started with Linux OMAP Kernel".
I googled this error but couldn't find any information useful for this
issue. Did anybody meet the same problem?

Appreciate for your attention.

Sam Duan


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-25  4:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-25  4:22 prcm_34xx.c--compiler error Sam Duan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox