ARM: export rtc_lock for nvram driver
authorArnd Bergmann <arnd@arndb.de>
Fri, 10 Jun 2011 13:58:30 +0000 (13:58 +0000)
committerArnd Bergmann <arnd@arndb.de>
Sat, 1 Oct 2011 19:08:26 +0000 (21:08 +0200)
commit63216d3c235d662726d6f5c55ceca91c70bb3eda
treeb9db375e61be2c55a1013bf75364a31493ebbc78
parentc6a389f123b9f68d605bb7e0f9b32ec1e3e14132
ARM: export rtc_lock for nvram driver

The rtc_lock is used by both the nvram and rtc drivers, so
we need to export it if at least one of the two is built,
not just for the rtc driver.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/kernel/time.c