summaryrefslogtreecommitdiffstats
path: root/vidix/dha.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:26:13 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-07-07 02:34:35 +0300
commit0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch)
tree71cb9bd9ed121156d3382066c0722c73189afe04 /vidix/dha.c
parent6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff)
downloadmpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2
mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz
Remove trailing whitespace from most files
Diffstat (limited to 'vidix/dha.c')
-rw-r--r--vidix/dha.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/vidix/dha.c b/vidix/dha.c
index 8a2d8fd1cd..4e5d5395ef 100644
--- a/vidix/dha.c
+++ b/vidix/dha.c
@@ -90,7 +90,7 @@
static int mem_fd = -1;
void *map_phys_mem(unsigned long base, unsigned long size)
-{
+{
#if ARCH_ALPHA
/* TODO: move it into sysdep */
base += bus_base();
@@ -121,12 +121,12 @@ dha_helper_way:
else
{
dhahelper_memory_t mem_req;
-
+
mem_req.operation = MEMORY_OP_MAP;
mem_req.start = base;
mem_req.offset = 0;
mem_req.size = size;
-
+
if (ioctl(mem_fd, DHAHELPER_MEMORY, &mem_req) < 0)
{
perror("libdha: DHA kernelhelper failed");
@@ -176,10 +176,10 @@ void unmap_phys_mem(void *ptr, unsigned long size)
perror("libdha: unmapping memory failed");
return;
}
-
+
close(mem_fd);
mem_fd = -1;
-
+
return;
}