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)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 16 May 2017 09:05:01 +0000 (11:05 +0200)
commitdbed87a9d3a857a86f602775b5845f5f6d9652b5
tree12d1872c43e04413ed960b9002daf1728ceadd1d
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
clk: meson: gxbb: fix build error without RESET_CONTROLLER

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>
drivers/clk/meson/Kconfig