]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: jz4740: make the driver buildable as a module again
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 24 Jan 2017 23:44:16 +0000 (00:44 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 26 Jan 2017 22:03:21 +0000 (23:03 +0100)
commitcd579f73174e6a445b28b56ccc5875b2053e2cdc
treeb5eb49de3fdf08b0b53dc87f59c5a87f01d1e077
parent8910d3073683e1a698dc9e02fca852eb33d353e1
rtc: jz4740: make the driver buildable as a module again

By using kernel_halt() instead of machine_halt(), we can make the driver
build as a module.
However, jz4740 platforms not loading this module will not be able to power
off.

Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Revert "rtc: jz4740: make the driver builtin only"

This reverts commit 3e0e8889e098a5897e7a29bb1eae2d61e9a8ca47.
drivers/rtc/Kconfig
drivers/rtc/rtc-jz4740.c