Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2714981pxj; Mon, 31 May 2021 08:57:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx08E6/kHMUkvCF6f+gpf2/Yg67xu5w+AffEl7bzqoSWVUs2tbT4D5Trmx1v3fFkZ5Oy2lp X-Received: by 2002:a17:906:34c9:: with SMTP id h9mr11329742ejb.246.1622476621499; Mon, 31 May 2021 08:57:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622476621; cv=none; d=google.com; s=arc-20160816; b=fZSJpeQCIx+0Ecqkw7dRD0Dm1P0MWOSGCewhCwCAGO07X8H7L9AKarY2yaMzvjpuDV ooCKzyZVzAnPb5c97TqN3VWNUSuoQDszOX83yxLzNsrHL/J69lrQcG9OBYn18+kYnOt2 FcVK9pIQjMcnP/KqsC8w77eRy4kN0EDIhlGQEIOtzn9Tb1lzqnbdl/r7GPBTE9WqDThX aNMdF8FATTJgaMfRt9kCMCuYEARgDRUNP4sDYviX1CFQGaOCtW6FX4pzNQAclK08+InJ ZERRh2ZjF09pxlrFClNE71JqAoUV2da/6rK6qqp8DREASJOq0uFjkXVzFi1hNAMB0L/t xnwQ== 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=jRUlFSqWnUeYHk4tR1Y3MnQnDRofgEINsNRPWl1KDrc=; b=hiBSIVQGvI4AbGoAVVA1n9Xoahxz9kdyQNcAce8D3KrPYcE46n9W7KdDlnw4xKM/kH ddPV3oU6jCelIqgcbqhh5soFYeGpudUfA0IKaQeIaIb9dadQCQaMUP97T95DkTu4L46Q NZ3sPdnsDEQ8rmgeVt6Lx/T2uNhZXxqboGaKoYbTSPa5YiqakjVil0QK+oHyuxXn+e5m OqMxWdGZaMLI8Eh73CPvlEyfPqrH3R9eSGoxUGvqdp4Rp52/DQGNqvQsbPVEvyf03o38 cvR3zC/BDQxc4UTWsd+6POqw8vkb648YTi6xLAm4Cl30Y4yMSWZjJdXbJ+MTzSqqDcla 58AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="brZzogZ/"; 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 jo17si3360529ejb.32.2021.05.31.08.56.39; Mon, 31 May 2021 08:57:01 -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="brZzogZ/"; 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 S234261AbhEaPy4 (ORCPT + 99 others); Mon, 31 May 2021 11:54:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:54450 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233792AbhEaO33 (ORCPT ); Mon, 31 May 2021 10:29:29 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 478BC61422; Mon, 31 May 2021 13:48:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622468892; bh=+0/xJAOl7raiNs0n3tlLfY30d6cyr+KSIJ6eyB+TjAI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=brZzogZ/R+K4JVtVjIl+P13xYHDk34Nqj/T31oDH4g4XrU2VIADCi8DxUn5ifyKiR sEzxrXkodVaN2tX9GveJRzvRepV8PhmM949oGSDTd2x/G1Q//VpgmRFXa59wnlFzNn bq+5P+39xXx0ux4W1onczh18GYPYeXEBtIF/7W6E= 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.4 169/177] MIPS: ralink: export rt_sysc_membase for rt2880_wdt.c Date: Mon, 31 May 2021 15:15:26 +0200 Message-Id: <20210531130653.765574488@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130647.887605866@linuxfoundation.org> References: <20210531130647.887605866@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 59b23095bfbb..4e38a905ab38 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