summaryrefslogtreecommitdiffstats
path: root/vidix/dha.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-13 02:58:57 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-05-13 02:58:57 +0000
commit6e9cbdc10448203e7c8b2de41447442fcc9f7bae (patch)
tree0ed465592509105fdbeab27fc12ddbb2e3590aa5 /vidix/dha.c
parenteafe5b7517bbf408ae1ffc936a3abe2313c3b334 (diff)
downloadmpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.bz2
mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.xz
whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
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;
}