Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9089405pxu; Mon, 28 Dec 2020 06:22:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJxilaYpkxjexyhFl84j8H8BeY+hbX18TJ+CBdikvrqadlbQSbHPdoiqnvcfqHcUnyA5Sqzm X-Received: by 2002:a17:906:3881:: with SMTP id q1mr42732351ejd.490.1609165355526; Mon, 28 Dec 2020 06:22:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609165355; cv=none; d=google.com; s=arc-20160816; b=Yw8y3kms4SVxPuqMZ4koOLtDxDoUsp5AbIOz+bULnRbJFc3aVlfY1NOVLFnZu9P4St fv5s5K3awUHUutUx963JdFx6Ll3/skGdBfVk9/zq5PKDLFwZlkXQ9PfYKvblXxXIJgDu hy12xS/mjI/pPaAvhHFFXedSfiikTbsSCcJTW4NGpDoyvEsleGinFPIk3g3alkiU2ApZ 1mQlxt6oX8RVkw6AiAWiHjBJtMIUgL6PzbpuBloAcQtFZ6dMDbBB68wwe5sB9Fg6NGCC 1xYHxlKDtdCmdVCJ1540PXRe+lhufugAGs1A/X4UZ5I4Z0yTorwuT4E4jXepoylvtSxO andg== 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=mggT1Ilj43GwkFcN94EBP/kpacndVuV2IekFsOl+zZw=; b=j3e/23w87gieMDVI/16eKgsqCq5ThPpB5s40/KYXppgT5R/aCgjgWygYE8jEaAu6Uq 8GlDilmUfyfr7vN5zA42YEJdBdEfHErH3LtX4nxJgXJlhOsE7WunVF4Dle7zYZ72vdwe 9KN4620IwtBb0xXT6IHjL3XQqZ5KRf+uitvpZqFaPkCh6v9Qe0/Yc3aaN/Kj8m8vFBYH TK0XfMR4MRcYBHcg7ZilaoqbgXsogioF+u+mwVnD/0Sck9B4v+1KPfVSDsV0VpnFj4EN bBAYRNK26cJo9Kk4Ky8wbZzfQAi8yVafPCgbn371NTtFQ/o+MmZDpvQBtFG15IpkktvW 1DJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=GJM1fHMn; 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 z3si20341664eda.136.2020.12.28.06.22.12; Mon, 28 Dec 2020 06:22:35 -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=GJM1fHMn; 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 S2392046AbgL1OT6 (ORCPT + 99 others); Mon, 28 Dec 2020 09:19:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:55236 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502151AbgL1OTu (ORCPT ); Mon, 28 Dec 2020 09:19:50 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B125820731; Mon, 28 Dec 2020 14:19:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609165150; bh=TWbu2r3Uhk3b7ljFSFzuvKyKwXb+PRqbbToS6v7JESw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GJM1fHMnskT5QU5D8Q+kPIbJRoOAmpi5uDbJMGlrdgtxWWnVyaZyGRkZrBbyVgqLZ aCSJfZLSppHmje8YeWASd6WkhbhhDgNNy5SisZP1MtZrTlaC/Tnxqnr2t1Yoh2rn0P 1f7MK84cooRl/HQ+otcmD0JW+PTwTt2iMAFBn/Eg= 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 429/717] watchdog: sirfsoc: Add missing dependency on HAS_IOMEM Date: Mon, 28 Dec 2020 13:47:07 +0100 Message-Id: <20201228125041.520197536@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 8ae2511112d2e18bc7d324b77f965d34083a25a2 ] If HAS_IOMEM is not defined and SIRFSOC_WATCHDOG is enabled, the build fails with the following error. drivers/watchdog/sirfsoc_wdt.o: in function `sirfsoc_wdt_probe': sirfsoc_wdt.c:(.text+0x112): undefined reference to `devm_platform_ioremap_resource' Reported-by: Necip Fazil Yildiran Fixes: da2a68b3eb47 ("watchdog: Enable COMPILE_TEST where possible") Link: https://lore.kernel.org/r/20201108162550.27660-2-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 b3e8bdaa2a112..f8e9be65036ae 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -790,6 +790,7 @@ config MOXART_WDT config SIRFSOC_WATCHDOG tristate "SiRFSOC watchdog" + depends on HAS_IOMEM depends on ARCH_SIRF || COMPILE_TEST select WATCHDOG_CORE default y -- 2.27.0