> -----Original Message----- > From: linux-omap-owner@xxxxxxxxxxxxxxx [mailto:linux-omap- > owner@xxxxxxxxxxxxxxx] On Behalf Of Felipe Balbi > Sent: Thursday, January 13, 2011 5:11 PM > To: Tony Lindgren > Cc: Paul Walmsley; Linux OMAP Mailing List; Felipe Balbi > Subject: [PATCH 3/4] arm: omap: prm: fix compile error > > when building OMAP4-only kernel, the following > comnpile errors appear: > > arch/arm/mach-omap2/built-in.o: In function `pm_dbg_regset_store': > /home/balbi/workspace/linux-2.6/arch/arm/mach-omap2/pm-debug.c:335: > undefined reference to `omap2_prm_read_mod_reg' > arch/arm/mach-omap2/built-in.o: In function `omap2_pm_dump': > /home/balbi/workspace/linux-2.6/arch/arm/mach-omap2/pm-debug.c:121: > undefined reference to `omap2_prm_read_mod_reg' > /home/balbi/workspace/linux-2.6/arch/arm/mach-omap2/pm-debug.c:123: > undefined reference to `omap2_prm_read_mod_reg' > /home/balbi/workspace/linux-2.6/arch/arm/mach-omap2/pm-debug.c:124: > undefined reference to `omap2_prm_read_mod_reg' > /home/balbi/workspace/linux-2.6/arch/arm/mach-omap2/pm-debug.c:125: > undefined reference to `omap2_prm_read_mod_reg' > arch/arm/mach-omap2/built-in.o:/home/balbi/workspace/linux- > 2.6/arch/arm/mach-omap2/prcm.c:53: > more undefined references to `omap2_prm_read_mod_reg' follow > arch/arm/mach-omap2/built-in.o: In function `omap_prcm_arch_reset': > /home/balbi/workspace/linux-2.6/arch/arm/mach-omap2/prcm.c:106: > undefined reference to `omap2_prm_set_mod_reg_bits' > /home/balbi/workspace/linux-2.6/arch/arm/mach-omap2/prcm.c:108: > undefined reference to `omap2_prm_read_mod_reg' > arch/arm/mach-omap2/built-in.o: In function `clkdm_add_wkdep': > /home/balbi/workspace/linux-2.6/arch/arm/mach- > omap2/clockdomain.c:440: > undefined reference to `omap2_prm_set_mod_reg_bits' > arch/arm/mach-omap2/built-in.o: In function `clkdm_del_wkdep': > /home/balbi/workspace/linux-2.6/arch/arm/mach- > omap2/clockdomain.c:475: > undefined reference to `omap2_prm_clear_mod_reg_bits' > arch/arm/mach-omap2/built-in.o: In function `clkdm_read_wkdep': > /home/balbi/workspace/linux-2.6/arch/arm/mach- > omap2/clockdomain.c:511: > undefined reference to `omap2_prm_read_mod_bits_shift' > arch/arm/mach-omap2/built-in.o: In function > `clkdm_clear_all_wkdeps': > /home/balbi/workspace/linux-2.6/arch/arm/mach- > omap2/clockdomain.c:545: > undefined reference to `omap2_prm_clear_mod_reg_bits' > make: *** [.tmp_vmlinux1] Error 1 > > fix them. > > Signed-off-by: Felipe Balbi <balbi@xxxxxx> This one is also address in http://www.mail-archive.com/linux-omap@xxxxxxxxxxxxxxx/msg41712.html -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html