Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752427AbdC0Lnw (ORCPT ); Mon, 27 Mar 2017 07:43:52 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:34430 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751652AbdC0Lno (ORCPT ); Mon, 27 Mar 2017 07:43:44 -0400 Date: Mon, 27 Mar 2017 13:37:14 +0200 From: Maxime Ripard To: Tobias Regnery Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: Re: [PATCH] clk: sunxi-ng: fix build error without CONFIG_RESET_CONTROLLER Message-ID: <20170327113714.4ozfacmdpu4qx7av@lukather> References: <20170327095753.29091-1-tobias.regnery@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fssd34nhn5rfrvzz" Content-Disposition: inline In-Reply-To: <20170327095753.29091-1-tobias.regnery@gmail.com> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1727 Lines: 49 --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--