diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_acpi.c')
| -rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_acpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_acpi.c b/drivers/gpu/drm/nouveau/nouveau_acpi.c index 07273a2ae62f..95c740454049 100644 --- a/drivers/gpu/drm/nouveau/nouveau_acpi.c +++ b/drivers/gpu/drm/nouveau/nouveau_acpi.c | |||
| @@ -256,7 +256,7 @@ static int nouveau_dsm_pci_probe(struct pci_dev *pdev) | |||
| 256 | acpi_handle dhandle; | 256 | acpi_handle dhandle; |
| 257 | int retval = 0; | 257 | int retval = 0; |
| 258 | 258 | ||
| 259 | dhandle = DEVICE_ACPI_HANDLE(&pdev->dev); | 259 | dhandle = ACPI_HANDLE(&pdev->dev); |
| 260 | if (!dhandle) | 260 | if (!dhandle) |
| 261 | return false; | 261 | return false; |
| 262 | 262 | ||
| @@ -414,7 +414,7 @@ bool nouveau_acpi_rom_supported(struct pci_dev *pdev) | |||
| 414 | if (!nouveau_dsm_priv.dsm_detected && !nouveau_dsm_priv.optimus_detected) | 414 | if (!nouveau_dsm_priv.dsm_detected && !nouveau_dsm_priv.optimus_detected) |
| 415 | return false; | 415 | return false; |
| 416 | 416 | ||
| 417 | dhandle = DEVICE_ACPI_HANDLE(&pdev->dev); | 417 | dhandle = ACPI_HANDLE(&pdev->dev); |
| 418 | if (!dhandle) | 418 | if (!dhandle) |
| 419 | return false; | 419 | return false; |
| 420 | 420 | ||
| @@ -448,7 +448,7 @@ nouveau_acpi_edid(struct drm_device *dev, struct drm_connector *connector) | |||
| 448 | return NULL; | 448 | return NULL; |
| 449 | } | 449 | } |
| 450 | 450 | ||
| 451 | handle = DEVICE_ACPI_HANDLE(&dev->pdev->dev); | 451 | handle = ACPI_HANDLE(&dev->pdev->dev); |
| 452 | if (!handle) | 452 | if (!handle) |
| 453 | return NULL; | 453 | return NULL; |
| 454 | 454 | ||
