Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9449737pxu; Mon, 28 Dec 2020 17:00:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFlVveZtPqMnqsFtoipo6ocs/QHf71YkeHHBuS9a4jFiDco4jYSid6hTYjlgJV7Fu1vkGk X-Received: by 2002:a05:6402:b4d:: with SMTP id bx13mr44455993edb.93.1609203627603; Mon, 28 Dec 2020 17:00:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609203627; cv=none; d=google.com; s=arc-20160816; b=lhWsn7LesOVq0pvdxRox0iq4DVG/B6C+Nyf7TbMiXafRdC2+lOfxwp0mNoJMr2SM8+ HVqCdmUmrshaKJrZQ4ND6aLyBa1QTu3dfslRBBPTf6Rd/4eJjJoqR0OqSzqAW8vGq6oj ZS2Q6VcFDE44N7SS9yMrqmzWOWFvXBDoQCln9G2TNWK+EHrL2ZsoRqrnYJUFZktt28l6 pHFGMT/tyBt6aOPJOLD4m6QmygqyLFDZ7Rxhz5QsYYAhPNoq/ofwwdo9ivaP7XkEpTq0 iPoBARKm/YQbQB7VEQ3LHuwYsRZem5DTpycxWN8sE2/l4fRMHs9md+ugmWvU7MFPF3GH SsdQ== 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=orxlBRtn7PlfEb7p3EBq0xhdGoxvx/nNzGhjP7d2XMU=; b=yksXNoTcsLPvfFsI4HfQ1xKvnBfdBZezWsDFm/7PhLAVOJ+85I1oPG0hTaF8KD3pli +kwfnj49xaRRBadBaYFz0GYqwBQd+iyiOzoLqRl5vjAgL6hpagZExKGVzGeeDd1B9e1j h8Yhkm8n1twSci2ZJkxADafkc05tQndId9tzozeTECE3sEC0bKplw35f04GztNhiuQQE sHIGUbT2OrTDtyTJkG0UEiJSrqs3In4eZW1z1thd2kdxmDEQfScKz/gghPfolobCKuur o9VR2oDkqx8h98SwhVsK12YfiqGc8aFxxpdKZJKCgOyrCyaqtrVAmfUTZCYobwUklakc b2ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=PgACAfjO; 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 kq6si11170900ejb.300.2020.12.28.17.00.05; Mon, 28 Dec 2020 17:00:27 -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=PgACAfjO; 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 S2633212AbgL1QTK (ORCPT + 99 others); Mon, 28 Dec 2020 11:19:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:42616 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732574AbgL1NOu (ORCPT ); Mon, 28 Dec 2020 08:14:50 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3A03920728; Mon, 28 Dec 2020 13:14:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609161275; bh=jCp+JwIpP6X2aY59YOnzjdXT2rBbB85+9t/9NKusEIE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PgACAfjOqSp/uQxyO851L6ZaCT2wOLAtq7kj4vd0/sd5314R4oIA7Sf8Wff/euB6S 8wk3TeUMW5N1Ll0rYg3dTfHNVl/0wvRdA51IIeM9e0B5F4CiS6bG0KMITqcDj2Kv7o xpVh/n9jO6sy7WqffzuSfHEQHjOpy+HH1EXZfqZ0= 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 4.14 160/242] watchdog: sirfsoc: Add missing dependency on HAS_IOMEM Date: Mon, 28 Dec 2020 13:49:25 +0100 Message-Id: <20201228124912.574769336@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124904.654293249@linuxfoundation.org> References: <20201228124904.654293249@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 fa15a683ae2d4..529b0527bf2e2 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -620,6 +620,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