]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amd/display: set variable custom_backlight_curve0 storage-class-specifier to...
authorTom Rix <trix@redhat.com>
Wed, 26 Apr 2023 11:18:38 +0000 (07:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:23:18 +0000 (09:23 -0400)
commit4e004146c0bab0c05d66dc648593e8b7ec3d8df5
treeeb5ca8feb6ab10fed39ba1a965d867ce35651146
parentc953cf040687992cfa066acca7d1c12e25fcec3e
drm/amd/display: set variable custom_backlight_curve0 storage-class-specifier to static

smatch reports
drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c:119:31:
  warning: symbol 'custom_backlight_curve0' was not declared. Should it be static?

This variable is only used in its defining file, so it should be static

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/power/power_helpers.c