Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4820707ybl; Wed, 22 Jan 2020 05:23:04 -0800 (PST) X-Google-Smtp-Source: APXvYqyp/XVwt0YfUyN/5NxWdHF6KhlVG4wQfKY/bW+tu0TYCpFuRYu0ROlOBS36JogRT/AhqtoZ X-Received: by 2002:a05:6808:a83:: with SMTP id q3mr7020580oij.0.1579699384526; Wed, 22 Jan 2020 05:23:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579699384; cv=none; d=google.com; s=arc-20160816; b=hUj7YknQkQ4GOakjAajCDlzqJibmqz2yOHixm2n52WjDo9ewpytx8Cf8EuA+m1CpN7 KZiiUitOuwMCwUVlLAaxe3UPpnVqWbd0OLF7n5LY2CAjtTjRRxdX7ULYQxXG3Wxe94SO jMNPtMWZFhvtooFlUCySdCztx972E0tU7OnsNUvzOZSxRXf5UncG15+mL2RnzOcCxuQS qcDsaA8HBqG8XBwsfaSuCTw7PnpQLZuZmEsQIl1chtVk3/k9CdhOfW89FYsJrWX4yEpE F5SsySqcdohtsyh23wM8+0Xy6YS63uptHwSPvyztfk1EuRsTvoQKUZc3UufVfSW9J16b sJ2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NasPCDpYFlZlxSyWu7H97nt0cZliLXfg87uslWd/MRY=; b=atU/f9jkJhBklkVJlpoO1/7BWUGlt8PfKdMj//0EjPZX3zf2TpzQbGT3FXTcn2jmPx RHp/AbyjmPp1qUMgaXJhXI1/fIaqZkYOUsG0q/OFuNgxuPTqmB3fvCMKIAD/8P8QVGFK ImQiIprujfehn5SW4XnHz/ocy0yzXbSZWHX+b5hKuH3V+mhhYvwl5eITlgQGXjBrJ/w1 GuDqP3SNvd0UGscuy0BUJJ4D5Y2emJdKEm0n1W195KSW5MtF3evH+FNystIwVSNT2U62 DSPR1uPttbbY0FpwOJApurIDW0fQ04qfKn4IU57YZOXzlhbCmOMVxsk9PN3kio4+qley RF9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=P11AZxl1; 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 m67si20188084oib.117.2020.01.22.05.22.51; Wed, 22 Jan 2020 05:23:04 -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; dkim=pass header.i=@kernel.org header.s=default header.b=P11AZxl1; 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 S1729883AbgAVNUG (ORCPT + 99 others); Wed, 22 Jan 2020 08:20:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:36128 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729860AbgAVNUE (ORCPT ); Wed, 22 Jan 2020 08:20:04 -0500 Received: from localhost (unknown [84.241.205.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 766D82467A; Wed, 22 Jan 2020 13:20:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579699204; bh=TBSkjwugAdx71V+ek//0N6epTGZxQcR558IFnm4KTI4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P11AZxl1SdjaycmVYSz+b2K9ujn6Z5HClZt+x/08baSpaCNSWjT3iCVRFBAFqOVW7 XvBmyJf2GsgHDL7O5kGAWS8ADTvgx8uk+/xovNGrBst6GXsRtK6rbi/9mx7LcYMDLw vTxnq0ZV7TvzSyJ5qbUFNdZN1VZCsnySNEHOnZVI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Bartosz Golaszewski , Philipp Zabel , Sekhar Nori , Olof Johansson Subject: [PATCH 5.4 036/222] ARM: davinci: select CONFIG_RESET_CONTROLLER Date: Wed, 22 Jan 2020 10:27:02 +0100 Message-Id: <20200122092836.090826916@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200122092833.339495161@linuxfoundation.org> References: <20200122092833.339495161@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann commit 7afec66e2bf5683d8bfc812cc295313d1b8473bc upstream. Selecting RESET_CONTROLLER is actually required, otherwise we can get a link failure in the clock driver: drivers/clk/davinci/psc.o: In function `__davinci_psc_register_clocks': psc.c:(.text+0x9a0): undefined reference to `devm_reset_controller_register' drivers/clk/davinci/psc-da850.o: In function `da850_psc0_init': psc-da850.c:(.text+0x24): undefined reference to `reset_controller_add_lookup' Link: https://lore.kernel.org/r/20191210195202.622734-1-arnd@arndb.de Fixes: f962396ce292 ("ARM: davinci: support multiplatform build for ARM v5") Cc: # v5.4 Signed-off-by: Arnd Bergmann Reviewed-by: Bartosz Golaszewski Reviewed-by: Philipp Zabel Acked-by: Sekhar Nori Signed-off-by: Olof Johansson Signed-off-by: Greg Kroah-Hartman --- arch/arm/mach-davinci/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm/mach-davinci/Kconfig +++ b/arch/arm/mach-davinci/Kconfig @@ -9,6 +9,7 @@ menuconfig ARCH_DAVINCI select PM_GENERIC_DOMAINS if PM select PM_GENERIC_DOMAINS_OF if PM && OF select REGMAP_MMIO + select RESET_CONTROLLER select HAVE_IDE select PINCTRL_SINGLE