From: Daniel J Blueman Date: Wed, 22 Sep 2010 17:05:35 +0000 (+0100) Subject: vgaarb: trivial fix X-Git-Tag: v2.6.36-rc6~39^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=201ba4c43214c6c386cff66b33efb612b6260ba2;p=~shefty%2Frdma-dev.git vgaarb: trivial fix Correct function being needlessly visible outside compilation unit when the only users are internal. Signed-off-by: Daniel J Blueman Reviewed-by: Alex Deucher Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/vga/vgaarb.c b/drivers/gpu/vga/vgaarb.c index b87569e96b1..f366f968155 100644 --- a/drivers/gpu/vga/vgaarb.c +++ b/drivers/gpu/vga/vgaarb.c @@ -598,7 +598,7 @@ static inline void vga_update_device_decodes(struct vga_device *vgadev, pr_debug("vgaarb: decoding count now is: %d\n", vga_decode_count); } -void __vga_set_legacy_decoding(struct pci_dev *pdev, unsigned int decodes, bool userspace) +static void __vga_set_legacy_decoding(struct pci_dev *pdev, unsigned int decodes, bool userspace) { struct vga_device *vgadev; unsigned long flags;