Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2641465pxj; Mon, 31 May 2021 07:12:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYBxDx/m6YjrjGmk8ET2Dc1qH5QlQf7u0M0puUEDG44a4A4ljrveKboBg5zSnuYMQuHHZe X-Received: by 2002:a5d:9d47:: with SMTP id k7mr17441735iok.79.1622470341656; Mon, 31 May 2021 07:12:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622470341; cv=none; d=google.com; s=arc-20160816; b=cOMHx6opkcqjzpwvvdFrWFCGaeiVh01K3ghCADY6cmaDzJLoXsi8k7htL50snE23tk p55OD4dfdFkVYKPPKq8e8vhqBO7iV+Yj80vK9zEYhFXA0R8mGnpq6XWbZA0Wl2I9nwSY 0mKLLVNxlLsz3MICxEUmkg1YlGSqJdgNB9GtNN3OhSTD7t+J9jx0fFJMrfhT0V1UATo8 al3cadNkKORGjQUAAm3pDuIBQtiSbcNqGfnY4V1miYf0gPrelsJysjXBW/IvwCXJnNgV ztHCaHwQOsxEugAlOoKlR8AM5jjKgrZjvgReO4uTvxMp5GKYyBwOENMRc8bka+7yjt1I XI+w== 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=cZg8pjyQRnjvp9MrFmV52cJjoy9UUTpBDGDnt04cPREjw9JHsova5LUtEMyNK46gIv 1stICHADK+PI1NyAeSUrmslijdaSrXkTYjuxOD66iXNIFD7ZcN0kxurD6G1Lb2V4sKup VyXv8EmvgLenoSMupMzw4EwRJJObeeQteCEfsZhDbBMDDmX0HXbZiVZxCgOCnC+BEZk9 gTn7h+iJEnvOZiyN8T5evvhPadboqkkkyFXNXGeKPJ0x0/wO/IQLWOSXGdSuJN/4LAzE AD7ccpLgAc32VZqZJUZp+FtxDXREUFVI+OEWWHSjXowkOQs3Dosuf9aIwTnd3/cHOWt2 TFaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=TwaQ1Gss; 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 y17si14255664jak.57.2021.05.31.07.12.04; Mon, 31 May 2021 07:12:21 -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=TwaQ1Gss; 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 S232752AbhEaOMg (ORCPT + 99 others); Mon, 31 May 2021 10:12:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:50178 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232824AbhEaNpj (ORCPT ); Mon, 31 May 2021 09:45:39 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5254F6141D; Mon, 31 May 2021 13:29:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622467794; bh=lLdB2C7FvsBE8EVewfRYKHQ7yxsd5rLBd+AkuN39X6Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TwaQ1GssPkaqzJOKOPMwwuhMijD12ML9wYeqZsvzelz3Gh+sxxUT1z3A1acJJkckC kNrJyk68QNou3JPJw4RMyvNr1WyMTQYWZRGeGdztV1mg5UqqND12v7+irRs9JEKMBS /2A8rlzQO9C3I87KaCDXLi95fcvPnOM/+Mvpr5Sw= 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.14 76/79] MIPS: ralink: export rt_sysc_membase for rt2880_wdt.c Date: Mon, 31 May 2021 15:15:01 +0200 Message-Id: <20210531130638.433069872@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130636.002722319@linuxfoundation.org> References: <20210531130636.002722319@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