Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7617145pxb; Thu, 18 Feb 2021 15:18:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJxo8U+BHt6KPsiIO6N8XPQsri3xvZg+6v1XNno4dDs5IqKRHVh8ai+dj2xJIsHWulu4Mz03 X-Received: by 2002:a05:6402:1777:: with SMTP id da23mr6325907edb.120.1613690339000; Thu, 18 Feb 2021 15:18:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613690338; cv=none; d=google.com; s=arc-20160816; b=HtVIILTUcGKQYyQRq3VNFI4br2/m7g5PnDP8K6vmmRfIzFErvm1VdZpED7ktF3y5JC DNWfMubry2mR9uDM3yw7gTgzbZaK4JoL/K3H9hWwuN9sVHGONlBK49eAP2GyIAK2mwuC R/xQSnSzh8ZAvysXkPj45SyXuuYyfz1IeLrPjS7URAMq8iJcAzsYOK8X6EqgB7je6vL+ gnwwz+JqdWoREtGgzvTF1rETqRYQAvATGolQkySve+opkgWtMXYJByPCq6BzB4jcma29 CUaRWEo+sd2u/3xk8Twipb0SThiaTxLS74cR13BywfJLVbUEXSoa3gVl0O2XewnZTwJw /v1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=3ITi7tzx2NKKwGh0/4NDuS5zOZ3po1uw6eFHZP6HKo8=; b=EbjCbPyKpBgrlQ7ukxcrIZY57iKJA8XrJYuv0qhOKWpH6mr36XMFJqyfvdtq35Obhb 6a5zN1Q7G+OcLBsgbKghoPTAAHS650tKeNyy7RljLqLCoubmNcW5k7zdFKcusWEKfRZY BfYz+tvdhExPVNt8Svaxll3lM0H/5cSp/ClfqWQlTZaHpCXuB9C07Zd5gnLKCm4junVg dsLppFPE71Pqh+84roBSArGmwNZ/B8yz8How7Lk7EVMDIZmQwGMeh9Gpx5AsvP3c51X1 oBJAlPwMq2w+QFA8iUnuy/Eo/3d2dFk+X56hZXLuLyWq1F/Zl8wnzg4sK/HAWXFmul5F GKJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z2G4Expe; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk7si5422330ejb.570.2021.02.18.15.18.35; Thu, 18 Feb 2021 15:18:58 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=Z2G4Expe; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229953AbhBRXRc (ORCPT + 99 others); Thu, 18 Feb 2021 18:17:32 -0500 Received: from mail.kernel.org ([198.145.29.99]:43716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbhBRXRb (ORCPT ); Thu, 18 Feb 2021 18:17:31 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 35C0F64EBD for ; Thu, 18 Feb 2021 23:16:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613690210; bh=aW+nfXzGr6YQmTzI2tfVJF8MdeeL5uIdMHjY7lwwVVA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Z2G4ExpesHWzEjiNcF9bro3mq6wOnWPLirDm4/mu5x5n4MK8vfXxX+jlm+iXfhayh YumLXHmWoToUP/i4HfwDutjzEonGb3vy1TARRUDK3bTWaXvYM0EGQMx8sWbZiQ9lBy Fbc7MDAf1B3jaLnAFsF+NgfniO+n7AgP7WarX7X995O3vr38ILU1VTTpsVHKUpRxWL AQL53DIzEmoz2132nFNgSJ+RPwR9paez/rLBX/SbyEXRSldhuBhYpj1Tiqr2AgUfg3 GtToAxJPwRrGvghk2chzPpdaEe/L12vRcgNkuUGd5k/xAHvLp9jzmmL+wrf+HaNRao qz+yieTM7sXJQ== Received: by mail-ed1-f41.google.com with SMTP id j9so6472823edp.1 for ; Thu, 18 Feb 2021 15:16:50 -0800 (PST) X-Gm-Message-State: AOAM530+iS2DiR8lIJVHoLumEEyAYTDPGAIRyhDvwDsWb3Iz2dRGcIuT qDqVtm9CMqvFf0mCbSaFh0aBLc/Gor8TKIU2jA== X-Received: by 2002:a05:6402:c91:: with SMTP id cm17mr6470189edb.219.1613690208700; Thu, 18 Feb 2021 15:16:48 -0800 (PST) MIME-Version: 1.0 References: <1613633299-88332-1-git-send-email-zou_wei@huawei.com> In-Reply-To: <1613633299-88332-1-git-send-email-zou_wei@huawei.com> From: Chun-Kuang Hu Date: Fri, 19 Feb 2021 07:16:37 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH -next] soc / drm: mediatek: Mark mtk_mutex_driver with static keyword To: Zou Wei Cc: Matthias Brugger , CK Hu , "moderated list:ARM/Mediatek SoC support" , linux-kernel , Linux ARM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Zou: Zou Wei =E6=96=BC 2021=E5=B9=B42=E6=9C=8818=E6=97=A5 = =E9=80=B1=E5=9B=9B =E4=B8=8B=E5=8D=883:12=E5=AF=AB=E9=81=93=EF=BC=9A > > Fix the following sparse warning: > > drivers/soc/mediatek/mtk-mutex.c:464:24: warning: symbol 'mtk_mutex_drive= r' was not declared. Should it be static? > Reviewed-by: Chun-Kuang Hu > Signed-off-by: Zou Wei > --- > drivers/soc/mediatek/mtk-mutex.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/soc/mediatek/mtk-mutex.c b/drivers/soc/mediatek/mtk-= mutex.c > index f531b11..3a315a6 100644 > --- a/drivers/soc/mediatek/mtk-mutex.c > +++ b/drivers/soc/mediatek/mtk-mutex.c > @@ -461,7 +461,7 @@ static const struct of_device_id mutex_driver_dt_matc= h[] =3D { > }; > MODULE_DEVICE_TABLE(of, mutex_driver_dt_match); > > -struct platform_driver mtk_mutex_driver =3D { > +static struct platform_driver mtk_mutex_driver =3D { > .probe =3D mtk_mutex_probe, > .remove =3D mtk_mutex_remove, > .driver =3D { > -- > 2.6.2 > > > _______________________________________________ > Linux-mediatek mailing list > Linux-mediatek@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-mediatek