提交 1b23170a 编写于 作者: M Matthew Garrett 提交者: 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: NDave Airlie <airlied@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册