]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: change vc4_dma_range_matches from a global to static
authorTom Rix <trix@redhat.com>
Wed, 29 Jun 2022 20:01:01 +0000 (16:01 -0400)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 30 Jun 2022 07:38:39 +0000 (09:38 +0200)
commite359c6fffae0fce44b8677f99d5fff6640257874
treefbfe96525187f0d06b42750fae2fde2394cfe915
parent460b7cc059ea2fa9b92db7da6067c0bc0723f3de
drm/vc4: change vc4_dma_range_matches from a global to static

sparse reports
drivers/gpu/drm/vc4/vc4_drv.c:270:27: warning: symbol 'vc4_dma_range_matches' was not declared. Should it be static?

vc4_dma_range_matches is only used in vc4_drv.c, so it's storage class specifier
should be static.

Fixes: dbac29102787 ("drm/vc4: drv: Adopt the dma configuration from the HVS or V3D component")
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220629200101.498138-1-trix@redhat.com
drivers/gpu/drm/vc4/vc4_drv.c