Received: by 10.223.185.116 with SMTP id b49csp1095203wrg; Fri, 23 Feb 2018 11:51:23 -0800 (PST) X-Google-Smtp-Source: AH8x224v369so2am2RIferfhHaSdBkkikHQfPaL6qDLQVeox7nSVzXW1yjtWaxZB4O8z1WMUEULm X-Received: by 2002:a17:902:8a98:: with SMTP id p24-v6mr2677932plo.147.1519415483116; Fri, 23 Feb 2018 11:51:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519415483; cv=none; d=google.com; s=arc-20160816; b=gLlI8BJJO9u3/DwUFlKyz1q/ogmKMS7wAqcNJodS1Hxizb6y7WKWSZ8VCKkNER7h4t ku8CeARruQUbG5fMpFjapjj5Nb/KBpOtXlhmr6/h4rvzmBCD9QPVVyD3p1N+nHheYa/X kSXnpAvs6LTdp/4xLRUyNjksBmk6OWoh+/TIolkeGbhBKYhYO98u+wglY4oFYZFtVt0P sOZsex2N9DvrTzEuTWjWOcc6+dGNiDxceoSrHfetKKXlD8RXjgwKQ6MiZtwIa6rPTvzn m6vPBIAoJ7d06ue4pU4gZGCID8bMt3uZebh0gkRE7ywedAi/KmRwjSsCJrVZOesMGnvf VE4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=t8Johfu/NoAAIi/OqYhT/PED50BgRyO9EzXlkPul+98=; b=kjc/j5NbWsR4tppA0PlWoTBRANeaz+Y3JgFVZjlNrLwNt3HpRce/+vDgyr/QujZDVQ V4bEobKk8gjNBu5Gzpj22NYcLSHMFGAyL2SBZfQ4bWQQHygBJbSKtIUJ5WUULDlaPYo+ LqOwrH2VKVBlTBUM4P8cMyV9LgAgcKx602Is+NidE4GoeGgGnOV7INBw16lZ8qcxVyDn zqoiwi+ikIP7wRqD8YG31SM2oZ+1zo0kO8+3Jf6vkqrMH9Go69UsHg8tSuV2RYHrWYMv E3bP/GIH4zFF22N4a0FaCIoL/LbF/Hn8PHVpM9jzLMqACL27lqJaRLUek/FQVxQmtfBK nGYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8si1875679pgo.616.2018.02.23.11.51.08; Fri, 23 Feb 2018 11:51:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934061AbeBWTtu (ORCPT + 99 others); Fri, 23 Feb 2018 14:49:50 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:43700 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933975AbeBWSqW (ORCPT ); Fri, 23 Feb 2018 13:46:22 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 73DB11261; Fri, 23 Feb 2018 18:46:21 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tobias Regnery , Maxime Ripard Subject: [PATCH 4.9 093/145] clk: sunxi-ng: fix build error without CONFIG_RESET_CONTROLLER Date: Fri, 23 Feb 2018 19:26:39 +0100 Message-Id: <20180223170736.828352470@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170724.669759283@linuxfoundation.org> References: <20180223170724.669759283@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Tobias Regnery commit aa01338c018469274848a973bcbd287ef341937c upstream. With CONFIG_RESET_CONTROLLER=n we get the following link error in the sunxi-ng clk driver: drivers/built-in.o: In function `sunxi_ccu_probe': mux-core.c:(.text+0x12fe68): undefined reference to 'reset_controller_register' mux-core.c:(.text+0x12fe68): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol 'reset_controller_register' Fix this by adding the appropriate select statement. Signed-off-by: Tobias Regnery Signed-off-by: Maxime Ripard Signed-off-by: Greg Kroah-Hartman --- drivers/clk/sunxi-ng/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/clk/sunxi-ng/Kconfig +++ b/drivers/clk/sunxi-ng/Kconfig @@ -1,6 +1,7 @@ config SUNXI_CCU bool "Clock support for Allwinner SoCs" depends on ARCH_SUNXI || COMPILE_TEST + select RESET_CONTROLLER default ARCH_SUNXI if SUNXI_CCU