diff options
author | Christoph Hellwig <hch@lst.de> | 2020-08-01 08:17:13 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-08-01 11:28:17 +0200 |
commit | f369bc3f9096f5d355e8b80540bc30ac9a602912 (patch) | |
tree | 835eb7b861c2c00b2dfd8f3d5d168bec90065fd6 /drivers/gpu/vga/vgaarb.c | |
parent | 70c8b4b8ab3714fb2d075be22aec05ae9c9a6a09 (diff) | |
download | linux-f369bc3f9096f5d355e8b80540bc30ac9a602912.tar.gz linux-f369bc3f9096f5d355e8b80540bc30ac9a602912.tar.bz2 linux-f369bc3f9096f5d355e8b80540bc30ac9a602912.zip |
vgaarb: mark vga_tryget static
This symbols isn't used anywhere outside of vgaarb.c.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200801061713.307434-1-hch@lst.de
Diffstat (limited to 'drivers/gpu/vga/vgaarb.c')
-rw-r--r-- | drivers/gpu/vga/vgaarb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/vga/vgaarb.c b/drivers/gpu/vga/vgaarb.c index f2f3ef8af271..5180c5687ee5 100644 --- a/drivers/gpu/vga/vgaarb.c +++ b/drivers/gpu/vga/vgaarb.c @@ -529,7 +529,7 @@ EXPORT_SYMBOL(vga_get); * * 0 on success, negative error code on failure. */ -int vga_tryget(struct pci_dev *pdev, unsigned int rsrc) +static int vga_tryget(struct pci_dev *pdev, unsigned int rsrc) { struct vga_device *vgadev; unsigned long flags; @@ -554,7 +554,6 @@ bail: spin_unlock_irqrestore(&vga_lock, flags); return rc; } -EXPORT_SYMBOL(vga_tryget); /** * vga_put - release lock on legacy VGA resources |