aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2022-10-13 08:16:10 +0000
committerDamien Le Moal <[email protected]>2022-10-17 13:01:57 +0000
commit17cc1ee6e83b16989118237294327bd0dd12b1a4 (patch)
tree6829982972ec9c9b24d42cd86438767dfbce0cba /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS (diff)
downloadkernel-17cc1ee6e83b16989118237294327bd0dd12b1a4.tar.gz
kernel-17cc1ee6e83b16989118237294327bd0dd12b1a4.zip
ata: ahci_st: Fix compilation warning
If CONFIG_OF is disabled and the ahci_st driver is builtin (or CONFIG_MODULES is disabled), then using the macro of_match_ptr() results in the st_ahci_match variable being unused, which generates a compilation warning and a compilation error if CONFIG_WERROR is enabled. Fix this by directly assigning st_ahci_match to .of_match_table in the st_ahci_driver platform driver definition. Reported-by: kernel test robot <[email protected]> Signed-off-by: Damien Le Moal <[email protected]> Acked-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions