diff options
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_atpx_handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_atpx_handler.c b/drivers/gpu/drm/radeon/radeon_atpx_handler.c index 40be4068ca69..fa5fadaa9bbb 100644 --- a/drivers/gpu/drm/radeon/radeon_atpx_handler.c +++ b/drivers/gpu/drm/radeon/radeon_atpx_handler.c | |||
@@ -526,7 +526,7 @@ static int radeon_atpx_init(void) | |||
526 | * look up whether we are the integrated or discrete GPU (all asics). | 526 | * look up whether we are the integrated or discrete GPU (all asics). |
527 | * Returns the client id. | 527 | * Returns the client id. |
528 | */ | 528 | */ |
529 | static int radeon_atpx_get_client_id(struct pci_dev *pdev) | 529 | static enum vga_switcheroo_client_id radeon_atpx_get_client_id(struct pci_dev *pdev) |
530 | { | 530 | { |
531 | if (radeon_atpx_priv.dhandle == ACPI_HANDLE(&pdev->dev)) | 531 | if (radeon_atpx_priv.dhandle == ACPI_HANDLE(&pdev->dev)) |
532 | return VGA_SWITCHEROO_IGD; | 532 | return VGA_SWITCHEROO_IGD; |