Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f41a7f1 authored by Dave Airlie's avatar Dave Airlie
Browse files

drm/nouveau: fix *staging* driver build with switcheroo off.



This driver is in *staging*. Fix the build with the switcheroo off.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 9b11fe5f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -852,7 +852,7 @@ extern int nouveau_dma_init(struct nouveau_channel *);
extern int  nouveau_dma_wait(struct nouveau_channel *, int slots, int size);

/* nouveau_acpi.c */
#if defined(CONFIG_VGA_SWITCHEROO)
#if defined(CONFIG_ACPI)
void nouveau_register_dsm_handler(void);
void nouveau_unregister_dsm_handler(void);
#else