Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2754276pxj; Mon, 31 May 2021 09:54:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx11lpcJ7psbRyOJWIjNkSZTrBbbOPF2UHToaOKeo1FOvYUm3LcJPqIZIybXiWQBZzp52Ss X-Received: by 2002:a05:6e02:20e8:: with SMTP id q8mr5339259ilv.84.1622480087762; Mon, 31 May 2021 09:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622480087; cv=none; d=google.com; s=arc-20160816; b=iK2DX5yzuuiEiXGEP4vC29lrXka5aE+k6kDCMxEf7cg+pZRA1dmmQrU3OJhkU/bET4 AXHKoVmplNojHIIAxUvYHTT9mDz9EdcGt/aRT2PUa8+SG4EiV5srDR95mremRIlymttQ nDnr/CMGxF10PvkMam5tnIezv58ZVj5jf0z0p5oH9/DNMLD6K8MwujN7gt2AYmkUvpEk 1kUW5GdXHs6EEpT92PChVoh22gSCsyAfDU+arSPSDxTINDFrLUIFrm0Eh1e/uh/WK60G 9DE3eToQT5kYeSWOPTN2/sv2W9BSu+7aV+ClcE87pW88BrFnZtqOnlW+iKtSDrlN59b+ IyKA== 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=txujKBw+h7sBEXQlrE11zouaTNCqhKPh+qbgAWCJbVc=; b=b2Qnowj+iVVEzPKIeTd8QIKM1uefGaQ8SImNvpml/ZQXuy6e+4Lc8cfYZkwErtht04 XUxU6rxJZAiADGWpkO/SmeKPQrK67jw9IzW9ZYorWH0zkodBEZfVnrNk46o2In3LAAFp 8k+PYXHITbrKS2Bm40ogCqDqVZdayRk7FXGOF9KbS5MXF4GUaE1ipO1NhnbTC7Ta0Gzd MuVHHI7u+O9vm0nx51UWLW0Dguskd+xJcdaNj3XzaG7xQ+u0xI8UBbOWAtrgf7Bnva8j syiHWpBnMgta8PCMrxLmPhUMgx1WYXvtIK4MVtBcKRUAiL+JCmxEX9iTTNEeQrIWIrkD 9wmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wDYUJvzA; 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 v8si15272612jat.73.2021.05.31.09.54.34; Mon, 31 May 2021 09:54:47 -0700 (PDT) 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=wDYUJvzA; 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 S234585AbhEaQzG (ORCPT + 99 others); Mon, 31 May 2021 12:55:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:50816 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233394AbhEaO6o (ORCPT ); Mon, 31 May 2021 10:58:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0355D61941; Mon, 31 May 2021 14:01:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622469663; bh=HOX5LR0FiUkuLoTNRGZcS2IkEKUB436J8i0VyPpfkGE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wDYUJvzA+6B29A3loXVMU5YeZr1wxqncwh3ualbORUw4soLS4ZzWaiFDEIKbldLyi GSM8Es2c7WtTpNuS+If2XHcQADgVI+g8tco2OIpHLp3JscJvi3fbpIQ7kXvBCC6AWa RvtDFDTKPNvnlN3KUF7glsMdwinZzcDIvNZdiSp0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Guenter Roeck , Wim Van Sebroeck , John Crispin , linux-mips@vger.kernel.org, linux-watchdog@vger.kernel.org, Thomas Bogendoerfer , Sasha Levin Subject: [PATCH 5.12 282/296] MIPS: ralink: export rt_sysc_membase for rt2880_wdt.c Date: Mon, 31 May 2021 15:15:37 +0200 Message-Id: <20210531130713.204046329@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130703.762129381@linuxfoundation.org> References: <20210531130703.762129381@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: Randy Dunlap [ Upstream commit fef532ea0cd871afab7d9a7b6e9da99ac2c24371 ] rt2880_wdt.c uses (well, attempts to use) rt_sysc_membase. However, when this watchdog driver is built as a loadable module, there is a build error since the rt_sysc_membase symbol is not exported. Export it to quell the build error. ERROR: modpost: "rt_sysc_membase" [drivers/watchdog/rt2880_wdt.ko] undefined! Fixes: 473cf939ff34 ("watchdog: add ralink watchdog driver") Signed-off-by: Randy Dunlap Cc: Guenter Roeck Cc: Wim Van Sebroeck Cc: John Crispin Cc: linux-mips@vger.kernel.org Cc: linux-watchdog@vger.kernel.org Acked-by: Guenter Roeck Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/ralink/of.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/ralink/of.c b/arch/mips/ralink/of.c index 8286c3521476..3c3d07cd8066 100644 --- a/arch/mips/ralink/of.c +++ b/arch/mips/ralink/of.c @@ -8,6 +8,7 @@ #include #include +#include #include #include #include @@ -25,6 +26,7 @@ __iomem void *rt_sysc_membase; __iomem void *rt_memc_membase; +EXPORT_SYMBOL_GPL(rt_sysc_membase); __iomem void *plat_of_remap_node(const char *node) { -- 2.30.2