Skip to content

Commit

Permalink
drm/nouveau: fix *staging* driver build with switcheroo off.
Browse files Browse the repository at this point in the history
This driver is in *staging*. Fix the build with the switcheroo off.

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Mar 2, 2010
1 parent 9b11fe5 commit 2f41a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/nouveau/nouveau_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f41a7f

Please sign in to comment.