Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2628384pxj; Mon, 31 May 2021 06:56:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBYqcCCU5BrBUYZhl0jdPhDzNiwoUID3yMoHLSC94HtLF1FEbO4K6Ji3hlZxf2sy84DGBb X-Received: by 2002:a05:6e02:be8:: with SMTP id d8mr18009059ilu.63.1622469395445; Mon, 31 May 2021 06:56:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622469395; cv=none; d=google.com; s=arc-20160816; b=mVMa/ocAguVND2Y0yJzKG7S+PoVIi9kK1PR1Y0FfwuZ7ZfJ5Rq9VhwfQlKTiT8Dnvq AVoJ9zHSdydPvr/cZbY6DBW0Okhrh22Mz1cQAOKtys0cTiiPD4sxD2Qs1SyRgjsjLKiS wAJ+MDXN8HKCGnPoMmAeLgAVvNh6aNzl+bAbdD4XVdCsh5+/HOCSSwiIoQCx+C+9VdnJ sWzm4HrXENP9g6E9bZfNbLGnXFcMkXyMjLyPjxUtqkdkSuXod3Ed80Ba7/75rqqYeOzp Xo8CRjFDbxB7ZQ2A9YQSlSQfubXCVrc8bZtU4AzBT2ys2kJhZ4heQ7A49mUBBo2z5+6f vyDA== 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=VDxwIuZcprIwwMIQC3QcSq6vghxJ3cBfxkoH0J5xHac=; b=KtcR3zd+bUkqFekoztde8lYKeDJdN8/ESK/UVnVwdsr5FkNOOLE5VfALzDZ2NSNFRk Wd3+FSnOyJh7S9KM2SYZVLx5neKBbKN7+9bhrE25nm9Z2naDiCeToFLhxclEj2o0d0I9 s4fRczD0DbCFy9mq9OVQDAhaWBhiWpaFoE1qcmqiQ67SaXVXdg7xTrmlHWf3KkWWKfR3 19hFmoCf/+/ziTcfFl6ZjZbl+f9nNJ1nOHZH/QeFRf66lxsHiKwV7aMhAjNkyr2KIvf6 DPHH1eOK42air/HKcL9X6sui89i6x1DBo21nb/AmvK4krTL4AgAZvSIfBJv1LS2R1EvH zclw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="UWsp/e6Y"; 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 m14si13942550ili.85.2021.05.31.06.56.22; Mon, 31 May 2021 06:56:35 -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="UWsp/e6Y"; 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 S230288AbhEaN5b (ORCPT + 99 others); Mon, 31 May 2021 09:57:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:44432 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232251AbhEaNhv (ORCPT ); Mon, 31 May 2021 09:37:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B515A61406; Mon, 31 May 2021 13:26:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622467587; bh=lLdB2C7FvsBE8EVewfRYKHQ7yxsd5rLBd+AkuN39X6Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UWsp/e6YXL4U9KcaAFAGXzZkC/1CoSLhZfXijiu9uAgufSWm/gNfTzOYJvyZNDpUf fgDE8il/o6O/xIaxv4qpAgcMO1iGYh7eciW0usapaZkIVjb6LblsuhUiPEwHWszbre AHZ0PEK8kzmW0oAVsB0Aj+H5NtPMUk4ubla+LXkI= 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 4.19 112/116] MIPS: ralink: export rt_sysc_membase for rt2880_wdt.c Date: Mon, 31 May 2021 15:14:48 +0200 Message-Id: <20210531130643.911662126@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130640.131924542@linuxfoundation.org> References: <20210531130640.131924542@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 1ada8492733b..92b3d4849996 100644 --- a/arch/mips/ralink/of.c +++ b/arch/mips/ralink/of.c @@ -10,6 +10,7 @@ #include #include +#include #include #include #include @@ -27,6 +28,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