From: Matthew Garrett Date: Tue, 24 Apr 2012 08:31:28 +0000 (+0100) Subject: vga: fix build when fbdev is a module X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1b23170a8e14ef62ad1daa957aa528212a8d0aef;p=linux-beck.git 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 --- diff --git a/drivers/gpu/vga/vgaarb.c b/drivers/gpu/vga/vgaarb.c index e223b96fa6a0..3df8fc0ec01a 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 66ed991ed8ba..b4a632ada401 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;