Commit 1b23170a authored by Matthew Garrett's avatar Matthew Garrett Committed by Dave Airlie

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: default avatarDave Airlie <airlied@redhat.com>
parent f1ae126c
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment