repo.or.cz
/
pscnv.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
allow for changes to vga_switcheroo_register_client in v3.5
[pscnv.git]
/
pscnv
/
kapitest
/
switcheroo_ops.c
blob
f4671d746a5851961052f7793529aa9feb94a5ef
1
#include
"drmP.h"
2
#include
"drm.h"
3
#include <linux/vga_switcheroo.h>
4
5
void
dummy
(
struct
drm_device
*
dev
)
6
{
7
static const struct
vga_switcheroo_client_ops foo_switcheroo_ops
= {
8
.
set_gpu_state
=
NULL
,
9
.
reprobe
=
NULL
,
10
.
can_switch
=
NULL
,
11
};
12
13
vga_switcheroo_register_client
(
dev
->
pdev
, &
foo_switcheroo_ops
);
14
}