1 /* Public domain. */ 2 3 #ifndef _LINUX_VGAARB_H 4 #define _LINUX_VGAARB_H 5 6 #include <sys/errno.h> 7 8 #define VGA_RSRC_LEGACY_IO 0x01 9 10 struct pci_dev; 11 12 void vga_get_uninterruptible(struct pci_dev *, int); 13 void vga_put(struct pci_dev *, int); 14 15 static inline int 16 vga_client_register(struct pci_dev *a, void *b, void *c, void *d) 17 { 18 return -ENODEV; 19 } 20 21 static inline int 22 vga_remove_vgacon(struct pci_dev *a) 23 { 24 return 0; 25 } 26 27 #endif 28