aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/vga/vgaarb.c
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2012-04-24 04:31:28 -0400
committerDave Airlie <airlied@redhat.com>2012-04-24 04:50:21 -0400
commit1b23170a8e14ef62ad1daa957aa528212a8d0aef (patch)
tree91d863db68e35cff448026f26ff9a8dceaa26f4a /drivers/gpu/vga/vgaarb.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/gpu/vga/vgaarb.c')
-rw-r--r--drivers/gpu/vga/vgaarb.c2
1 files changed, 2 insertions, 0 deletions
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)
137 return vga_default; 137 return vga_default;
138} 138}
139 139
140EXPORT_SYMBOL_GPL(vga_default_device);
141
140void vga_set_default_device(struct pci_dev *pdev) 142void vga_set_default_device(struct pci_dev *pdev)
141{ 143{
142 vga_default = pdev; 144 vga_default = pdev;