Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Maxime Ripard Newsgroups: linux.kernel Subject: Re: [PATCH] clk: sunxi-ng: fix build error without CONFIG_RESET_CONTROLLER Date: Mon, 27 Mar 2017 13:50:01 +0200 Message-ID: References: X-Original-To: Tobias Regnery MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fssd34nhn5rfrvzz" Content-Disposition: inline User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 49 Organization: linux.* mail to news gateway X-Original-Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org X-Original-Date: Mon, 27 Mar 2017 13:37:14 +0200 X-Original-Message-ID: <20170327113714.4ozfacmdpu4qx7av@lukather> X-Original-References: <20170327095753.29091-1-tobias.regnery@gmail.com> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1609750 --fssd34nhn5rfrvzz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 27, 2017 at 11:57:53AM +0200, Tobias Regnery wrote: > With CONFIG_RESET_CONTROLLER=3Dn we get the following link error in the > sunxi-ng clk driver: >=20 > drivers/built-in.o: In function `sunxi_ccu_probe': > mux-core.c:(.text+0x12fe68): undefined reference to 'reset_controller_reg= ister' > mux-core.c:(.text+0x12fe68): relocation truncated to fit: R_AARCH64_CALL2= 6 against undefined symbol 'reset_controller_register' >=20 > Fix this by adding the appropriate select statement. >=20 > Signed-off-by: Tobias Regnery Applied, thanks! Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --fssd34nhn5rfrvzz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJY2PlqAAoJEBx+YmzsjxAgHM4P/0XV0oewCiXd1fSR9U8gzeC+ z0maFyeJ+RnlrMzd90ECZCCq0jSzIgaocmjkx5QTzzhQKU4UTIyJYjByxHcRW91K FPw/VmMIyNA2TaE70lL9bw2XgaJZ/Ic/Bl1ObTccPq/P1Mg5U18yFvS+xyf+0h34 ZE5eiSuKD0+e0jQ1CoDInu2K05Jz22/flTcnpvWD9QkDhMsSqAG7dQ0PzaN/psNk mTsZHIKXfH1I/Whg+zlkXkDfqPvyS5bDWQ2XahBAbO8e9YycERennIL90OsdFcTT thyXMkDoO85IkJCizvriB5VNnGkaXYhY6ySd43UloxDG7TmirwlwxEplttedWAjX kkQmXexE6jZn1AttLXJVomwv0s8c+oVuMxKIvA4wgZpDgK/diY1Mj/lXVWzGHr06 iyiOTj+Ox9AZtffJKWKWwi5D0AM3brYS439mGFZ4OR9No7c3jLzPBFYmJlIhsE0b 2OU1LvlKnefedVrYcfvaQuTMf6MfRgW+N9qAGG0+ubXBxv+iKX6FAhjTsnvce+QR nG5gEgXyiNSfmGeiE0xwARq4L1nmsEplGfTGIA1P13zbwk9O0dJSpEzya93JOKK3 jDZXH8GhdyTBpZONVRF8E6CB0ZN6UiEPFsazOwoISpl7FNgV8JvzP3LlgEkwYMAL 6AGvxtD8f8PwooGpfBZl =6pKz -----END PGP SIGNATURE----- --fssd34nhn5rfrvzz--