Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1622841

Re: [PATCH] clk: sunxi-ng: fix build failure in ccu-sun9i-a80 driver

Path csiph.com!weretis.net!feeder4.news.weretis.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From Maxime Ripard <maxime.ripard@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: sunxi-ng: fix build failure in ccu-sun9i-a80 driver
Date Thu, 13 Apr 2017 11:20:02 +0200
Message-ID <tvJ50-Rx-7@gated-at.bofh.it> (permalink)
References <tuGsy-zj-15@gated-at.bofh.it>
X-Original-To Tobias Regnery <tobias.regnery@gmail.com>
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fbk2vaxxeqq5ynig"
Content-Disposition inline
User-Agent Mutt/1.6.2-neo (2016-08-21)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 51
Organization linux.* mail to news gateway
X-Original-Cc linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Thu, 13 Apr 2017 11:11:10 +0200
X-Original-Message-ID <20170413091110.wfbrzwyxpbdkwz74@lukather>
X-Original-References <20170410121544.13248-1-tobias.regnery@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1622841

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Apr 10, 2017 at 02:15:44PM +0200, Tobias Regnery wrote:
> The ccu-sun9i-a80 driver uses the ccu_mult_ops struct, but unlike the other
> users it doesen't select the corresponding Kconfig symbol under which the
> struct is compiled in.
> 
> This results in the following link error with CONFIG_SUN9I_A80_CCU=y and
> CONFIG_SUNXI_CCU_MULT=n:
> 
> drivers/built-in.o:(.data+0x2d638): undefined reference to 'ccu_mult_ops'
> 
> Fix this by explicitly selecting CONFIG_SUNXI_CCU_MULT like the other
> users of the struct.
> 
> Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com>

Applied, thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] clk: sunxi-ng: fix build failure in ccu-sun9i-a80 driver Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-04-13 11:20 +0200

csiph-web