diff options
| author | 2018-04-24 15:14:18 +0200 | |
|---|---|---|
| committer | 2018-05-15 13:43:51 -0500 | |
| commit | ba9ca0886dc0541ac1a716b3cbd43f640a1ce8c4 (patch) | |
| tree | 65e557880b3837735e035448e96980fabd206e32 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/radeon: fix mode_valid's return type (diff) | |
| download | wireguard-linux-ba9ca0886dc0541ac1a716b3cbd43f640a1ce8c4.tar.xz wireguard-linux-ba9ca0886dc0541ac1a716b3cbd43f640a1ce8c4.zip | |
drm/admgpu: fix mode_valid's return type
The method struct drm_connector_helper_funcs::mode_valid is defined
as returning an 'enum drm_mode_status' but the driver implementation
for this method uses an 'int' for it.
Fix this by using 'enum drm_mode_status' in the driver too.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
