]> git.zerfleddert.de Git - usb-driver/blobdiff - usb-driver.c
fix prototype for _Z14isModuleLoadedPci
[usb-driver] / usb-driver.c
index 504a278b39df45afa7c9bdab6ce90f9d7408445e..6a7df90d44f052210d5c54b970131867b92d29c5 100644 (file)
@@ -673,10 +673,13 @@ int uname (struct utsname *__name) {
 }
 #endif
 
-/* Ugly hack for ISE 12. They don't seem to open /proc/modules with
- * open() anymore... */
-int _Z14isModuleLoadedPci(void) {
-       DPRINTF("Faking _Z14isModuleLoadedPci\n");
+/*
+ * Ugly hack for ISE 12. They don't seem to open /proc/modules with
+ * open() anymore...
+ * echo '_Z14isModuleLoadedPci' | c++filt
+ */
+int _Z14isModuleLoadedPci(char *module_name, int i) {
+       DPRINTF("_Z14isModuleLoadedPci: Checking for module %s (%d)\n", module_name, i);
 
        return 1;
 }
Impressum, Datenschutz