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:
8c77862
)
Fix Solaris build: missing static prototype & typo in variable name
author
Alan Coopersmith
<alan.coopersmith@sun.com>
Thu, 27 Sep 2007 00:26:47 +0000
(17:26 -0700)
committer
Alan Coopersmith
<alan.coopersmith@sun.com>
Thu, 27 Sep 2007 00:26:47 +0000
(17:26 -0700)
src/solx_devfs.c
patch
|
blob
|
history
diff --git
a/src/solx_devfs.c
b/src/solx_devfs.c
index
a500327
..
08de4d0
100644
(file)
--- a/
src/solx_devfs.c
+++ b/
src/solx_devfs.c
@@
-100,7
+100,8
@@
static int xsvc_fd = -1;
#define DEBUGON 0
-
+static int pci_device_solx_devfs_map_range(struct pci_device *dev,
+ struct pci_device_mapping *map);
static int pci_device_solx_devfs_read_rom( struct pci_device * dev,
void * buffer );
@@
-861,7
+862,7
@@
pci_device_solx_devfs_map_range(struct pci_device *dev,
}
}
- map->memory = mmap(NULL, map->size, prot, MAP_SHARED, xsv
s
_fd,
+ map->memory = mmap(NULL, map->size, prot, MAP_SHARED, xsv
c
_fd,
map->base);
if (map->memory == MAP_FAILED) {
err = errno;