]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd16f57e3102e1d72b640ccbf1c4a52dbfbaf7bfe
tree4ac74cc6c1ec12007c86878fb77e5166f55630fe
parent3ab908923c9abe6628d945d29fec4e8725f1c632
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