# \[PATCH\] drm/rockchip: dsi: make hstt\_table static

- Subsystems: ARM/Rockchip SoC support, DRM DRIVERS, DRM DRIVERS AND MISC GPU PATCHES, DRM DRIVERS FOR ROCKCHIP, THE REST
- Maintainers: Heiko Stuebner, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Sandy Huang, Andy Yan, Linus Torvalds
- Status: LANDED (adfeef9370ff · 2021-09-21 09:48)
- Landed in mainline as adfeef9370ff on 2021-09-21.
- List: linux-arm-kernel
- 2 messages, 2 authors
- Page: https://ratatoskr.run/linux-arm-kernel/2021/08/1469645/t

## \[PATCH\] drm/rockchip: dsi: make hstt\_table static

- From: Jiapeng Chong \<hidden\>
- Date: 2021-08-06 02:58:07 
- Message: https://ratatoskr.run/linux-arm-kernel/2021/08/1469645.md

```text
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 <redacted>
Signed-off-by: Jiapeng Chong <redacted>
---
 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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```

## Re: \[PATCH\] drm/rockchip: dsi: make hstt\_table static

- From: Heiko Stuebner \<heiko@sntech.de\>
- Date: 2021-09-21 10:04:41 
- Message: https://ratatoskr.run/linux-arm-kernel/2021/09/1516894.md

```text
On Fri, 6 Aug 2021 10:57:44 +0800, Jiapeng Chong wrote:
> 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?

Applied, thanks!

[1/1] drm/rockchip: dsi: make hstt_table static
      commit: adfeef9370ff8b53c5f73cda3a63531d92b1ca64

Best regards,
-- 
Heiko Stuebner [ref]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
