summaryrefslogtreecommitdiffstats
path: root/libvo/vo_fsdga.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_fsdga.c')
-rw-r--r--libvo/vo_fsdga.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libvo/vo_fsdga.c b/libvo/vo_fsdga.c
index f20ea49d0d..2e18bd1f73 100644
--- a/libvo/vo_fsdga.c
+++ b/libvo/vo_fsdga.c
@@ -21,6 +21,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <errno.h>
//#include "fastmemcpy.h"
@@ -458,7 +459,12 @@ int vo_dga_query_event(void){
static uint32_t preinit(const char *arg)
{
- return 0;
+ if(arg)
+ {
+ printf("vo_fsdga: Unknown subdevice: %s\n",arg);
+ return ENOSYS;
+ }
+ return 0;
}
static uint32_t control(uint32_t request, void *data, ...)