ARM: OMAP: Fix compile for OMAP_PM_NOOP if PM is not selected
authorTony Lindgren <tony@atomide.com>
Wed, 14 Nov 2012 16:40:00 +0000 (08:40 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 14 Nov 2012 17:41:54 +0000 (09:41 -0800)
commit0b4b61c0dcbfd409832bfbeb6693d5e3ca1f3b95
treedda80cae2a5d6c0cb468f815b27ec36c99dfe8f1
parente05cf58d50e3ce3601ebf753728eee0df759e38f
ARM: OMAP: Fix compile for OMAP_PM_NOOP if PM is not selected

Commit 6e740f9a8 (ARM: OMAP: Move omap-pm-noop.c local to mach-omap2)
moved omap-pm-noop to be local to mach-omap2. However, the makefile
entry got placed within ifeq ($(CONFIG_PM),y) which was not the
case earlier.

Fix the issue by moving it out of the ifeq ($(CONFIG_PM),y) in
the makefile as these stubs are needed also when PM is not set.

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/Makefile