ARM: imx: reset_controller may be disabled
authorArnd Bergmann <arnd@arndb.de>
Tue, 30 Apr 2013 12:58:31 +0000 (14:58 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 2 May 2013 19:50:06 +0000 (21:50 +0200)
commit5c5f0421a8eea5bdaba9b9313c5bb4833aeb39cd
tree1bd88b4ae9bf5444d1c99322153ac025dcce3b1f
parent8b85143e5dc428e8023bd741dfa9ec2e64ff4525
ARM: imx: reset_controller may be disabled

The new reset controller API is optional, so if that is disabled,
we must not call it from platform code.

arch/arm/mach-imx/built-in.o: In function
 `imx_src_init': /git/arm-soc/arch/arm/mach-imx/src.c:144:
undefined reference to `reset_controller_register'

Cc: Sascha Hauer <kernel@pengutronix.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-imx/src.c