vga: fix build when fbdev is a module

This fixes the build breakage reported by Stephen in -next
when merging the drm-next tree.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Matthew Garrett 2012-04-24 09:31:28 +01:00 committed by Dave Airlie
parent f1ae126cdf
commit 1b23170a8e
2 changed files with 4 additions and 0 deletions

View file

@ -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;

View file

@ -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;