fix prototype for _Z14isModuleLoadedPci
This commit is contained in:
parent
b316fb2f6f
commit
9f78065e21
11
usb-driver.c
11
usb-driver.c
@ -673,10 +673,13 @@ int uname (struct utsname *__name) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Ugly hack for ISE 12. They don't seem to open /proc/modules with
|
/*
|
||||||
* open() anymore... */
|
* Ugly hack for ISE 12. They don't seem to open /proc/modules with
|
||||||
int _Z14isModuleLoadedPci(void) {
|
* open() anymore...
|
||||||
DPRINTF("Faking _Z14isModuleLoadedPci\n");
|
* echo '_Z14isModuleLoadedPci' | c++filt
|
||||||
|
*/
|
||||||
|
int _Z14isModuleLoadedPci(char *module_name, int i) {
|
||||||
|
DPRINTF("_Z14isModuleLoadedPci: Checking for module %s (%d)\n", module_name, i);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user