Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
af5dd83b
Commit
af5dd83b
authored
Jan 06, 2011
by
Dave Airlie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vga_switcheroo: fix build with non switcheroo enabled path.
Signed-off-by:
Dave Airlie
<
airlied@redhat.com
>
parent
9eba4a93
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
include/linux/vga_switcheroo.h
include/linux/vga_switcheroo.h
+1
-0
No files found.
include/linux/vga_switcheroo.h
View file @
af5dd83b
...
...
@@ -49,6 +49,7 @@ int vga_switcheroo_process_delayed_switch(void);
static
inline
void
vga_switcheroo_unregister_client
(
struct
pci_dev
*
dev
)
{}
static
inline
int
vga_switcheroo_register_client
(
struct
pci_dev
*
dev
,
void
(
*
set_gpu_state
)(
struct
pci_dev
*
dev
,
enum
vga_switcheroo_state
),
void
(
*
reprobe
)(
struct
pci_dev
*
dev
),
bool
(
*
can_switch
)(
struct
pci_dev
*
dev
))
{
return
0
;
}
static
inline
void
vga_switcheroo_client_fb_set
(
struct
pci_dev
*
dev
,
struct
fb_info
*
info
)
{}
static
inline
int
vga_switcheroo_register_handler
(
struct
vga_switcheroo_handler
*
handler
)
{
return
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment