Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2682941pxj; Mon, 31 May 2021 08:10:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxztfHx6qpCy16odP7xLuL8Do4XOzzUZOyYsxNdO6wUAAm2eh1MWXvraS+xWvsXt98qmT6p X-Received: by 2002:a17:906:14c9:: with SMTP id y9mr10183010ejc.192.1622473828045; Mon, 31 May 2021 08:10:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622473828; cv=none; d=google.com; s=arc-20160816; b=dg87XaYjtYP9nwiKhNhLTIG4+n8rqcxoUGpNIyovK3Ar2V4Pjioyz6lxxUQVAmRKCP QF+9uIfU5ZodO4e4C/n3/Yd6c0qTrOelYVKcwISyaaDbme8NRWeVeKGUT4al9WqShoU4 Fbdqe36AectGM+wckLhjPJYUhfP/pGPLClBDR0NrgU41DSQzZAzaGal1OGGGr/Zre5xE z6OIzOHQGoqAs+1Zrafd7fUOsGGhGwqnyQMkcRDiqwtwLwp2L5JsNm61gzuYJcFuMmDl B89i4GEemXe0vjV9oUliz/muclmkRSURSOT6LIptX3hVoAMVyrXO6S69rwhJsFLKJqqt pIgg== 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=i3kH6jxWgPLxUDq1sDXkcFrvCC+yJIOziugO2CGrUGU=; b=wPuNky7Sp0x+ocY14Az+qZSoOG+giXS/qQ50oTolHwE80hB1G/ctSyuYRgca876OQA SRswpbK3SwH+6nSBN88v2TUN3u28ZJARX2i3tbNKbgNqforryIu902+aVnwaX5Dmy6/M XvRQ4hwUiYGwaUpUNE+K9GCUnwka4nRn7b4BS+m/BsOV7O2i/zC2mukMuxCrw4OLVMEN Z2PZWDStpv6lGLqPtuyVeQNrmY698f4vBZ0w2yWEj4NiAPea3Virq0xsBkJz6HG+eMzL Bu56vK7ZCCip95cnBHHwy14EFfHE4KnSvVCBtREeeWKB/D0tKDKXsCSD10zoPuVRvUlz F2sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fyK7YX0e; 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 n7si12480207ejx.652.2021.05.31.08.10.05; Mon, 31 May 2021 08:10:28 -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=fyK7YX0e; 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 S234478AbhEaPKJ (ORCPT + 99 others); Mon, 31 May 2021 11:10:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:40496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232475AbhEaOJ5 (ORCPT ); Mon, 31 May 2021 10:09:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2E46761971; Mon, 31 May 2021 13:40:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622468429; bh=1hTUnAuEtZd3tinnFT/q6OSKEpQDZ08WXxy2j2oPjDo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fyK7YX0eQPiyDcklCMKUyqT7tRp+Hbjv//nYNz0pKVoxRPUWbssOtHAN/AGsBUM2g qPsHGIH5GNTWLbto6pAOewcrBGeh8KPrMtMMUnsyhOYvpSr7TnWthnBIiku1S7gjH2 OGI4jWADC95T/u+P/4AJZThWQewMI2N56m15WeC4= 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.10 240/252] MIPS: ralink: export rt_sysc_membase for rt2880_wdt.c Date: Mon, 31 May 2021 15:15:05 +0200 Message-Id: <20210531130706.159826423@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130657.971257589@linuxfoundation.org> References: <20210531130657.971257589@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 cbae9d23ab7f..a971f1aca096 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