changeset 23045:212bbe3789e7

kill a few warnings
author ben
date Sun, 22 Apr 2007 13:28:54 +0000
parents 7d693457f85e
children 82216ef041e0
files vidix/dha.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/dha.c	Sun Apr 22 13:25:50 2007 +0000
+++ b/vidix/dha.c	Sun Apr 22 13:28:54 2007 +0000
@@ -122,7 +122,9 @@
   }
 #endif
 
+#ifdef CONFIG_DHAHELPER
 dev_mem_way:
+#endif
 #ifdef DEV_APERTURE
   if ((mem_fd = open(DEV_APERTURE, O_RDWR)) == -1)
 	perror("libdha: opening aperture failed");
@@ -143,7 +145,9 @@
     return MAP_FAILED;
   }
 
+#ifdef CONFIG_DHAHELPER
 mmap:
+#endif
   return mmap(0,size,PROT_READ|PROT_WRITE,MAP_SHARED,mem_fd,base);
 }