diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 8305a6ccf796..510cadeac7b1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -1752,11 +1752,11 @@ void amdgpu_test_syncing(struct amdgpu_device *adev); | |||
1752 | int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr); | 1752 | int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr); |
1753 | void amdgpu_mn_unregister(struct amdgpu_bo *bo); | 1753 | void amdgpu_mn_unregister(struct amdgpu_bo *bo); |
1754 | #else | 1754 | #else |
1755 | static int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr) | 1755 | static inline int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr) |
1756 | { | 1756 | { |
1757 | return -ENODEV; | 1757 | return -ENODEV; |
1758 | } | 1758 | } |
1759 | static void amdgpu_mn_unregister(struct amdgpu_bo *bo) {} | 1759 | static inline void amdgpu_mn_unregister(struct amdgpu_bo *bo) {} |
1760 | #endif | 1760 | #endif |
1761 | 1761 | ||
1762 | /* | 1762 | /* |