Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9089334pxu; Mon, 28 Dec 2020 06:22:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQESZ5FRlNlGfqmNDJibFmrsWMDu7TkFw8orNcbYNgF9dGLlEJmKwGd2p+x68HmOqy6s0T X-Received: by 2002:a17:907:970a:: with SMTP id jg10mr12270221ejc.529.1609165346128; Mon, 28 Dec 2020 06:22:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609165346; cv=none; d=google.com; s=arc-20160816; b=r8BJ/RRtPwwW3nx852lpPoab4On+MvPgyz+bvwuga7xyCgbi5iCjhbatx0LoJU6H2w xDft88Hf1q70/GpqV9BU0TjRRu9GTcVhrH4fkidigMcUMnTSkKGl6XEtZ1quS0QRAayB jZz3d7Y1M+PJ3l0F995Uy0l+Nhh2s4o8ZEp2dOXvPFEoN5O3vsKWXho4zpWFuxatPxMc nQYl+1ZeaioDCTBr6SPmF21j1OgClzq4EuHwjwWip5AkzfNbTfF6J6E/UBDGzXvWTgQG bcnllm+orkqzq874qfMyuGSgBFJEHhbKdSn1E/QzJBow8PJmuBdJZINwnJ/IDKe49Z0u I3PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4zHk3vngJZ49PvLqlO6Pl7pCmjac//0o1fwUxEcPWoM=; b=YL3IEVzJd9A4AsXI2cL4KD9BuE0PBuEkWDoHAnz6bv9Zn46sAa+qd3kmJii/8GSH1d sie63TYHn3bheRWD3V/vFmoG5ZQhUyB9eTTZ3tlcLnFSKmBL6Q98Vh86Sg1UrwparOYw hYy8O8sAxrY8QKwo/CQVqThs+5jLzRg8mUsJzXVcthXI0lRpjKMBCjLHXkn2RipK9z21 +JzCu505wQhFZ/yTMk2giGpXuvTHUWWwQbQaNMih+HVX/gPwzNyW/mHe5DegW+/Xr7t2 a6Ebw4JNYPnfdztlG3XPm0exc9psubrcQKooSrqtkIrz4uaLMO9AwSeHMUPrMBW4KR/O 1XUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=i6OvenJB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h17si18817365ejg.46.2020.12.28.06.22.02; Mon, 28 Dec 2020 06:22:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=i6OvenJB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502150AbgL1OTu (ORCPT + 99 others); Mon, 28 Dec 2020 09:19:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:55172 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392031AbgL1OTr (ORCPT ); Mon, 28 Dec 2020 09:19:47 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id C5BB3229C4; Mon, 28 Dec 2020 14:19:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609165147; bh=NxB4p1Y2rEVXI0bWk37gLU9g3oSKskovcdtgtfkeicE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i6OvenJBaJ1BH1anvC7040Z1giPDpyjFvQmjdhKccYbXpdpM8uHTmdMTofFxdd0j+ j3M42KjZ5V5RIDePSPqZ1XILWUPm1RU6WMVwqPThB7vr6QPzLLBS3pnIuvOb62+HtR 2k9osCB534PK1HACp5QrKx4RzQbUx88S2fThY9lQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Necip Fazil Yildiran , Guenter Roeck , Wim Van Sebroeck , Sasha Levin Subject: [PATCH 5.10 428/717] watchdog: armada_37xx: Add missing dependency on HAS_IOMEM Date: Mon, 28 Dec 2020 13:47:06 +0100 Message-Id: <20201228125041.471941480@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Guenter Roeck [ Upstream commit 7f6f1dfb2dcbe5d2bfa213f2df5d74c147cd5954 ] The following kbuild warning is seen on a system without HAS_IOMEM. WARNING: unmet direct dependencies detected for MFD_SYSCON Depends on [n]: HAS_IOMEM [=n] Selected by [y]: - ARMADA_37XX_WATCHDOG [=y] && WATCHDOG [=y] && (ARCH_MVEBU || COMPILE_TEST This results in a subsequent compile error. drivers/watchdog/armada_37xx_wdt.o: in function `armada_37xx_wdt_probe': armada_37xx_wdt.c:(.text+0xdc): undefined reference to `devm_ioremap' Add the missing dependency. Reported-by: Necip Fazil Yildiran Fixes: 54e3d9b518c8 ("watchdog: Add support for Armada 37xx CPU watchdog") Link: https://lore.kernel.org/r/20201108162550.27660-1-linux@roeck-us.net Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck Signed-off-by: Sasha Levin --- drivers/watchdog/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index fd7968635e6df..b3e8bdaa2a112 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -386,6 +386,7 @@ config ARM_SBSA_WATCHDOG config ARMADA_37XX_WATCHDOG tristate "Armada 37xx watchdog" depends on ARCH_MVEBU || COMPILE_TEST + depends on HAS_IOMEM select MFD_SYSCON select WATCHDOG_CORE help -- 2.27.0