OSDN Git Service
(root)
/
android-x86
/
external-libpciaccess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef8aca5
)
Revert "vgaarb: fix pci_device_vgaarb_get_info() return value."
author
Tiago Vignatti
<tiago.vignatti@nokia.com>
Wed, 26 Aug 2009 08:14:03 +0000
(11:14 +0300)
committer
Tiago Vignatti
<tiago.vignatti@nokia.com>
Wed, 26 Aug 2009 08:14:03 +0000
(11:14 +0300)
This reverts commit
ef8aca5da46155e9ea0d1227215921ad9ce59150
.
src/common_vgaarb.c
patch
|
blob
|
history
diff --git
a/src/common_vgaarb.c
b/src/common_vgaarb.c
index
b7ef021
..
a40b064
100644
(file)
--- a/
src/common_vgaarb.c
+++ b/
src/common_vgaarb.c
@@
-317,7
+317,7
@@
int pci_device_vgaarb_get_info(struct pci_device *dev, int *vga_count, int *rsrc
{
*vga_count = pci_sys->vga_count;
if (!dev)
- return
-1
;
+ return
0
;
*rsrc_decodes = dev->vgaarb_rsrc;
return 0;