diff options
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index f5b3cbe7dc80..5f8d987af363 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h | |||
@@ -852,7 +852,7 @@ extern int nouveau_dma_init(struct nouveau_channel *); | |||
852 | extern int nouveau_dma_wait(struct nouveau_channel *, int slots, int size); | 852 | extern int nouveau_dma_wait(struct nouveau_channel *, int slots, int size); |
853 | 853 | ||
854 | /* nouveau_acpi.c */ | 854 | /* nouveau_acpi.c */ |
855 | #if defined(CONFIG_VGA_SWITCHEROO) | 855 | #if defined(CONFIG_ACPI) |
856 | void nouveau_register_dsm_handler(void); | 856 | void nouveau_register_dsm_handler(void); |
857 | void nouveau_unregister_dsm_handler(void); | 857 | void nouveau_unregister_dsm_handler(void); |
858 | #else | 858 | #else |