Skip to content

Commit

Permalink
vga: fix build when fbdev is a module
Browse files Browse the repository at this point in the history
This fixes the build breakage reported by Stephen in -next
when merging the drm-next tree.

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Matthew Garrett authored and Dave Airlie committed Apr 24, 2012
1 parent f1ae126 commit 1b23170
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/vga/vgaarb.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ struct pci_dev *vga_default_device(void)
return vga_default;
}

EXPORT_SYMBOL_GPL(vga_default_device);

void vga_set_default_device(struct pci_dev *pdev)
{
vga_default = pdev;
Expand Down
2 changes: 2 additions & 0 deletions drivers/video/efifb.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ struct pci_dev *vga_default_device(void)
return default_vga;
}

EXPORT_SYMBOL_GPL(vga_default_device);

void vga_set_default_device(struct pci_dev *pdev)
{
default_vga = pdev;
Expand Down

0 comments on commit 1b23170

Please sign in to comment.