All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] vgaarb: Fix build failure with modular fbcon
@ 2012-04-24 22:41 Matthew Garrett
  0 siblings, 0 replies; only message in thread
From: Matthew Garrett @ 2012-04-24 22:41 UTC (permalink / raw)
  To: airlied; +Cc: linux-kernel, Matthew Garrett

We need to export vga_default_device in case fbcon is modular.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
---
 drivers/gpu/vga/vgaarb.c |    2 ++
 drivers/video/efifb.c    |    2 ++
 2 files changed, 4 insertions(+)

diff --git a/drivers/gpu/vga/vgaarb.c b/drivers/gpu/vga/vgaarb.c
index e223b96..3df8fc0 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 66ed991..b4a632a 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;
-- 
1.7.10


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-24 22:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-24 22:41 [PATCH] vgaarb: Fix build failure with modular fbcon Matthew Garrett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.