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, unsigned int (*f)(struct pci_dev *, bool)) 17 { 18 return -ENODEV; 19 } 20 21 static inline void 22 vga_client_unregister(struct pci_dev *a) 23 { 24 } 25 26 static inline int 27 vga_remove_vgacon(struct pci_dev *a) 28 { 29 return 0; 30 } 31 32 #endif 33