]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2022 13:16:25 +0000 (15:16 +0200)
commita60996dc027a026baca91a5bbf948bd3fb30ecd1
treefac6d0b4d8783e5d5a2a5956bd50665d748dc196
parent3422e24af9ba79eb4ba70646dfd3c1621ea92558
drm/vc4: change vc4_dma_range_matches from a global to static

commit 63569d90863ff26c8b10c8971d1271c17a45224b upstream.

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: da8e393e23ef ("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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/vc4/vc4_drv.c