ARM: at91: fixed unresolved symbol "at91_pm_set_standby" when built without CONFIG_PM
authorBrent Taylor <motobud@gmail.com>
Sun, 24 Nov 2013 18:02:35 +0000 (12:02 -0600)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 2 Dec 2013 13:24:40 +0000 (14:24 +0100)
commit7093bf2b7195541281cb711e31c027a8d826c6df
tree4ac74cc6c1ec12007c86878fb77e5166f55630fe
parentd2607c3b78701fed52ba1bb953562da6702b2001
ARM: at91: fixed unresolved symbol "at91_pm_set_standby" when built without CONFIG_PM

If CONFIG_PM is not defined, then arch/arm/mach-at91/pm.c is not
compiled in.  This patch creates an inline function that does nothing
if CONFIG_PM is not defined.

Signed-off-by: Brent Taylor <motobud@gmail.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/pm.h