diff options
| author | Lee Jones <[email protected]> | 2020-11-13 13:49:34 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-11-13 22:29:47 +0000 |
| commit | 0507a6173227d50ef6d3cdc68940a967faac4d9f (patch) | |
| tree | 33bfe7f66394acd9bc6b89f3f810bf67e2d9fb2f /drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c | |
| parent | drm/amd/amdgpu/amdgpu_vm_sdma: Fix 'amdgpu_vm_sdma_prepare()'s doc-rot (diff) | |
| download | kernel-0507a6173227d50ef6d3cdc68940a967faac4d9f.tar.gz kernel-0507a6173227d50ef6d3cdc68940a967faac4d9f.zip | |
drm/amd/amdgpu/amdgpu_fw_attestation: Consume our own header containing prototypes
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c:130:6: warning: no previous prototype for ‘amdgpu_fw_attestation_debugfs_init’ [-Wmissing-prototypes]
Cc: Alex Deucher <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Hawking Zhang <[email protected]>
Cc: John Clements <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c index c6947d6c7ff5..e47bca1c7635 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c @@ -26,6 +26,7 @@ #include <linux/dma-mapping.h> #include "amdgpu.h" +#include "amdgpu_fw_attestation.h" #include "amdgpu_psp.h" #include "amdgpu_ucode.h" #include "soc15_common.h" @@ -139,4 +140,4 @@ void amdgpu_fw_attestation_debugfs_init(struct amdgpu_device *adev) adev, &amdgpu_fw_attestation_debugfs_ops); #endif -}
\ No newline at end of file +} |
