diff --git a/drivers/gpu/vga/vgaarb.c b/drivers/gpu/vga/vgaarb.c index e223b96fa6a041fcb6502bfae244225235906c3b..3df8fc0ec01a93ab95883139b2c3f531b72e5934 100644 --- a/drivers/gpu/vga/vgaarb.c +++ b/drivers/gpu/vga/vgaarb.c @@ -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; diff --git a/drivers/video/efifb.c b/drivers/video/efifb.c index 66ed991ed8ba9e69a74f232d1b95299f577f73a8..b4a632ada40172574ae9aca1ad6836d632ce4e1c 100644 --- a/drivers/video/efifb.c +++ b/drivers/video/efifb.c @@ -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;