summaryrefslogtreecommitdiff
path: root/drivers/video/efifb.c
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2012-04-24 09:31:28 +0100
committerDave Airlie <airlied@redhat.com>2012-04-24 09:50:21 +0100
commit1b23170a8e14ef62ad1daa957aa528212a8d0aef (patch)
tree91d863db68e35cff448026f26ff9a8dceaa26f4a /drivers/video/efifb.c
parentf1ae126cdf1d1514da6e89a248232a7f7d315fe0 (diff)
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 <airlied@redhat.com>
Diffstat (limited to 'drivers/video/efifb.c')
-rw-r--r--drivers/video/efifb.c2
1 files changed, 2 insertions, 0 deletions
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;