drm/radeon: fix mode_valid's return type
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Tue, 24 Apr 2018 13:15:13 +0000 (15:15 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:51 +0000 (13:43 -0500)
commit7a47f20eb1fb8fa8d7a8fe3a4fd8c721f04c2174
tree4070b7b2e995e9e93af906eb4e046f6357505b38
parent4a8f264a8a8756bb7d3a478d08e449c67d291ab9
drm/radeon: 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.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_connectors.c