OSDN Git Service

clk: meson: gxbb: fix build error without RESET_CONTROLLER
authorTobias Regnery <tobias.regnery@gmail.com>
Mon, 24 Apr 2017 10:05:42 +0000 (12:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Feb 2018 10:05:55 +0000 (11:05 +0100)
commite4f0069c647e94d8070fc6f6ae1d753d14684c14
tree6f493187becc8280c933b54855a252d2fad7e3cd
parent04c64a88ceaf7f27da37a375de519fab1b6080fa
clk: meson: gxbb: fix build error without RESET_CONTROLLER

commit dbed87a9d3a857a86f602775b5845f5f6d9652b5 upstream.

With CONFIG_RESET_CONTROLLER=n we see the following link error in the
meson gxbb clk driver:

drivers/built-in.o: In function 'gxbb_aoclkc_probe':
drivers/clk/meson/gxbb-aoclk.c:161: undefined reference to 'devm_reset_controller_register'

Fix this by selecting the reset controller subsystem.

Fixes: f8c11f79912d ("clk: meson: Add GXBB AO Clock and Reset controller driver")
Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
[narmstrong: Added fixes-by tag]
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/meson/Kconfig