summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/include/linux/vgaarb.h
blob: 9f8ce34c1d493a1538727b0978fc7ef6f6f923c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Public domain. */

#ifndef _LINUX_VGAARB_H
#define _LINUX_VGAARB_H

#include <sys/errno.h>

#define VGA_RSRC_LEGACY_IO	0x01

struct pci_dev;

void vga_get_uninterruptible(struct pci_dev *, int);
void vga_put(struct pci_dev *, int);

static inline int
vga_client_register(struct pci_dev *a, void *b, void *c, void *d)
{
	return -ENODEV;
}

static inline int
vga_remove_vgacon(struct pci_dev *a)
{
	return 0;
}

#endif