File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -529,7 +529,7 @@ EXPORT_SYMBOL(vga_get);
529
529
*
530
530
* 0 on success, negative error code on failure.
531
531
*/
532
- int vga_tryget (struct pci_dev * pdev , unsigned int rsrc )
532
+ static int vga_tryget (struct pci_dev * pdev , unsigned int rsrc )
533
533
{
534
534
struct vga_device * vgadev ;
535
535
unsigned long flags ;
@@ -554,7 +554,6 @@ int vga_tryget(struct pci_dev *pdev, unsigned int rsrc)
554
554
spin_unlock_irqrestore (& vga_lock , flags );
555
555
return rc ;
556
556
}
557
- EXPORT_SYMBOL (vga_tryget );
558
557
559
558
/**
560
559
* vga_put - release lock on legacy VGA resources
Original file line number Diff line number Diff line change @@ -109,12 +109,6 @@ static inline int vga_get_uninterruptible(struct pci_dev *pdev,
109
109
return vga_get (pdev , rsrc , 0 );
110
110
}
111
111
112
- #if defined(CONFIG_VGA_ARB )
113
- extern int vga_tryget (struct pci_dev * pdev , unsigned int rsrc );
114
- #else
115
- static inline int vga_tryget (struct pci_dev * pdev , unsigned int rsrc ) { return 0 ; }
116
- #endif
117
-
118
112
#if defined(CONFIG_VGA_ARB )
119
113
extern void vga_put (struct pci_dev * pdev , unsigned int rsrc );
120
114
#else
You can’t perform that action at this time.
0 commit comments