Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6829404pxv; Fri, 30 Jul 2021 03:29:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuVnF+B4Z9WKwuF7Ruimp+b44vK6dsqfLZ0ciRN4hzzhekQg8etkodwqV1EwM2EGjyetVD X-Received: by 2002:a17:906:49d5:: with SMTP id w21mr1879116ejv.30.1627640998940; Fri, 30 Jul 2021 03:29:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627640998; cv=none; d=google.com; s=arc-20160816; b=JlzF1wltFkXZwe2NTgnvyXhtQJ2bo5tTx4Jmj6zQQ+uvGr2he1lGKWL5PJAngJRZPz zx3CZmfiITwFq7+rbjIwG39usLfVnyn0PiKmR9iVPoq650XVOdVeFYnzWaU2vOYDp1FO oy2LN04VL4JCuA8LmEjSc+suteS9BqgAaMhQwTVPxAtfu11Ta0ZQka/NTiC4kvch8P7L 0KKllwDNRNWOc669XJfwL7NOlLdKRQezfCgRGSnSnGw4nzpFZie/yujQM7GvZi61l9Yu KNcod0atgXPuo3XlU3i/OQX+TVAdKULLcTPA+4lUuUqL4OKK3YkdHF/N0H4k7aXqs0lu jwwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=lNCpIf0LhYUk4LDEy7BD879lVq4B3Do89z5L2sjLfcg=; b=qEyykgjNKmtkzMo2s1yyT4Gkxu9+YB7w7B/oTyxUqsIKiiFJeN6boc1CtNKF3wHFso SmHL0fuLP5FtxmeebX41X84h6HGEW0bJnZsnluZCuOCA6hOEtlOJlvWIgkU8ph6wlol2 aq4L292ry7yb9hxS/JvZQkWQ3jAwU+pXj1eWjUSTCSn61OKNtzzusijweQKk5KvshlkC xGbTVa1A0lYz8l6LzOExm3ctACX2rRTzVCM/MnVJLO0RL0HbZwA0eJ9+LgcTuHm+s2cR oFwT3Pyv82SjIyncdl9KRMT1TPxrjWmHeV6xSF0b7exAaNwbXaifVqwIV7aGcycztugj UotA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s15si1260835edd.474.2021.07.30.03.29.34; Fri, 30 Jul 2021 03:29:58 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238409AbhG3K2S (ORCPT + 99 others); Fri, 30 Jul 2021 06:28:18 -0400 Received: from out30-44.freemail.mail.aliyun.com ([115.124.30.44]:33818 "EHLO out30-44.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238274AbhG3K2Q (ORCPT ); Fri, 30 Jul 2021 06:28:16 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0UhR-lKM_1627640887; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UhR-lKM_1627640887) by smtp.aliyun-inc.com(127.0.0.1); Fri, 30 Jul 2021 18:28:10 +0800 From: Jiapeng Chong To: stuyoder@gmail.com Cc: laurentiu.tudor@nxp.com, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH] bus: fsl-mc: make fsl_mc_bus_dpdbg_type static Date: Fri, 30 Jul 2021 18:28:01 +0800 Message-Id: <1627640881-16239-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This symbol is not used outside of fsl-mc-bus.c, so marks it static. Fix the following sparse warning: drivers/bus/fsl-mc/fsl-mc-bus.c:395:20: warning: symbol 'fsl_mc_bus_dpdbg_type' was not declared. Should it be static? Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/bus/fsl-mc/fsl-mc-bus.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c index 6273f78..1fcc759 100644 --- a/drivers/bus/fsl-mc/fsl-mc-bus.c +++ b/drivers/bus/fsl-mc/fsl-mc-bus.c @@ -392,10 +392,9 @@ struct device_type fsl_mc_bus_dpdmai_type = { }; EXPORT_SYMBOL_GPL(fsl_mc_bus_dpdmai_type); -struct device_type fsl_mc_bus_dpdbg_type = { +static struct device_type fsl_mc_bus_dpdbg_type = { .name = "fsl_mc_bus_dpdbg" }; -EXPORT_SYMBOL_GPL(fsl_mc_bus_dpdbg_type); static struct device_type *fsl_mc_get_device_type(const char *type) { -- 1.8.3.1