diff options
Diffstat (limited to 'src/video_out/libdha/mmi.c')
-rw-r--r-- | src/video_out/libdha/mmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_out/libdha/mmi.c b/src/video_out/libdha/mmi.c index d1cd3c8d1..39d21926a 100644 --- a/src/video_out/libdha/mmi.c +++ b/src/video_out/libdha/mmi.c @@ -69,8 +69,8 @@ void * bm_alloc_pci_shmem(pciinfo_t *pi, unsigned mem_bitness, unsigned long len if(ioctl(libdha_fd,DHAHELPER_ALLOC_PA,&vmi) == 0) return vmi.addr; } - return 0; #endif + return NULL; } void bm_free_pci_shmem(void * pci_shmem) |