summaryrefslogtreecommitdiff
path: root/device/blkio.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-05-02 14:05:52 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-05-02 14:05:52 +0200
commit8ab33477c2009b998c781111ba53d38f3c90e427 (patch)
tree1d7dd39294c660b34e9392131ed46c31a4092f79 /device/blkio.c
parent7e0774107ef80938fdc9ab6e5d4808bcfdaf8ce9 (diff)
Fix block_io_mmap prototype
* device/blkio.c (block_io_mmap): Fix prototype of dummy function. * device/blkio.h (block_io_mmap): Likewise.
Diffstat (limited to 'device/blkio.c')
-rw-r--r--device/blkio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/blkio.c b/device/blkio.c
index ee86634..e5b4d09 100644
--- a/device/blkio.c
+++ b/device/blkio.c
@@ -101,7 +101,7 @@ void minphys(io_req_t ior)
* Dummy routine placed in device switch entries to indicate that
* block device may be mapped.
*/
-vm_offset_t block_io_mmap(void)
+int block_io_mmap(dev_t dev, vm_offset_t off, int prot)
{
return (0);
}