input: support analog read
[libpicofe.git] / linux / plat.c
index 5788d1d..ec2aa8b 100644 (file)
@@ -1,3 +1,13 @@
+/*
+ * (C) GraÅžvydas "notaz" Ignotas, 2008-2010
+ *
+ * This work is licensed under the terms of any of these licenses
+ * (at your option):
+ *  - GNU GPL, version 2 or later.
+ *  - GNU LGPL, version 2.1 or later.
+ * See the COPYING file in the top-level directory.
+ */
+
 #define _GNU_SOURCE
 #include <stdio.h>
 #include <string.h>
@@ -38,7 +48,7 @@ int plat_get_root_dir(char *dst, int len)
                        break;
                }
 
-       return 0;
+       return j;
 }
 
 #ifdef __GP2X__