Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
+2 −0
Original line number Diff line number Diff line
@@ -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;