Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp245716pxt; Fri, 6 Aug 2021 00:33:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsoDrLnt6XlJTEyPPEhZd+/U13LGsmwD0dj13qUPMhoBE3FzDltVp1BnKcThLRAg+ASKMw X-Received: by 2002:a05:6e02:104f:: with SMTP id p15mr67919ilj.242.1628235236989; Fri, 06 Aug 2021 00:33:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628235236; cv=none; d=google.com; s=arc-20160816; b=zVvWAkVoMiynw8iRaLK16q5b6EOnFm3p6uTxr5WknnaTEz128hyENtLhrcQUUGkMYp xleXVbhZXqA8TssZIWzEolo4SFiG22ab+nJ1HEJJHnenVaQYR/v1AjbciRvueLtFFg4h MH64BDI/xt4kOTtbW8MbbDQTtM+SqVimOdzVCGE9hGLRyahWXGhS5XgjI23nydTn6E6d /py7ChOMHnYWQ+vgLJPgkyb+wBGbDr5at7XZrGnxWroGta42A7PXNJdOs3E9o67UFBb8 aHy8QIYC6LTsTmV2sY7yZthJENcXcWnD01P8EFGj9UsGO9VQ/2GbAfSgaBgX3A+ku1g4 kYgQ== 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=FNos9+A4RYjIrBm0tGRiU03pd8bigJj5imqVPUc0TeU=; b=IUjsBGIV9fl9bMe+MHiKiPana9cWFLEBDXizRyAHShBVNmu/GIa83akyJerRf2uHwJ TKasfLCcijnxD94n6OZYsHz0yo3LGITrGaDcopZdFryCz8rnx8Or4xSTsTpYsxQZLkcc zmVB8pD8vLCL96M154GnttTYHmV+eCLpRgOPEF8Kkaou7g4AWiBG1WKyInkb2FcBJsyl BAFTALuT4VCbqvFZFXr0lIols0x62CefLnKq1eJxEsfvcZ6RYaWS+hv+z1R+2+cYLQoR PccM5FgrrZ5Qo5SO8XWYQ1GpWZA/zbvAGm+C3Ph5mKY9Ztr05DMoDRrM4G/QQc87wDp+ Fpvw== 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 c126si1040204iof.49.2021.08.06.00.33.45; Fri, 06 Aug 2021 00:33:56 -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 S231406AbhHFC6T (ORCPT + 99 others); Thu, 5 Aug 2021 22:58:19 -0400 Received: from out30-130.freemail.mail.aliyun.com ([115.124.30.130]:46837 "EHLO out30-130.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230385AbhHFC6T (ORCPT ); Thu, 5 Aug 2021 22:58:19 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R931e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04426;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0Ui5fk1-_1628218668; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Ui5fk1-_1628218668) by smtp.aliyun-inc.com(127.0.0.1); Fri, 06 Aug 2021 10:58:01 +0800 From: Jiapeng Chong To: hjc@rock-chips.com Cc: heiko@sntech.de, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH] drm/rockchip: dsi: make hstt_table static Date: Fri, 6 Aug 2021 10:57:44 +0800 Message-Id: <1628218664-14230-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 dw-mipi-dsi-rockchip.c, so marks it static. Fix the following sparse warning: drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c:646:13: warning: symbol 'hstt_table' was not declared. Should it be static? Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c b/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c index a2262be..12fa3db 100644 --- a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c +++ b/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c @@ -643,7 +643,7 @@ struct hstt { } /* Table A-3 High-Speed Transition Times */ -struct hstt hstt_table[] = { +static struct hstt hstt_table[] = { HSTT( 90, 32, 20, 26, 13), HSTT( 100, 35, 23, 28, 14), HSTT( 110, 32, 22, 26, 13), -- 1.8.3.1