From: Nishanth Menon Date: Wed, 26 Jun 2013 14:39:46 +0000 (-0500) Subject: ARM: OMAP4: sleep: build OMAP4 specific functions only for OMAP4 X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b46355a920a3dbdce7365d2e39eefd6c7b87c22a;p=pandora-kernel.git ARM: OMAP4: sleep: build OMAP4 specific functions only for OMAP4 CPU sleep and resume functions for Cortex-A9 based OMAP4 and Cortex-A15 based OMAP5 are different. Hence, even though we reuse most of the remaining file as part of OMAP4/5 consolidation, build OMAP4 specific sleep/resume operations only for OMAP4. SCU is not used OMAP5. This fixes the following build failure with OMAP5 only build: arch/arm/mach-omap2/built-in.o: In function `scu_gp_set': arch/arm/mach-omap2/sleep44xx.S:132: undefined reference to `scu_power_mode' arch/arm/mach-omap2/built-in.o: In function `scu_gp_clear': arch/arm/mach-omap2/sleep44xx.S:229: undefined reference to `scu_power_mode' Reported-by: Pekon Gupta Reported-by: Vincent Stehlé Acked-by: Santosh Shilimkar Signed-off-by: Nishanth Menon Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed