790cda59be
Started porting pmOS to Xiaomi Redmi Note 5 Pro (whyred). What works so far: - Booting - SSH over USB - SD card detection (haven't tried flashing to internal storage because i'm afraid of bricking the device due to anti-rollback) - Vibration and LEDs - Screen - Hardware buttons - Touchscreen Untested: - WiFi - Camera - Audio - Bluetooth - GPS - Calls, SMS, Cellular network
17 lines
397 B
Diff
17 lines
397 B
Diff
diff --git a/drivers/usb/gadget/debug.c b/drivers/usb/gadget/debug.c
|
|
index 32a53299..fa5ff4ff 100644
|
|
--- a/drivers/usb/gadget/debug.c
|
|
+++ b/drivers/usb/gadget/debug.c
|
|
@@ -126,8 +126,12 @@ err0:
|
|
return ret;
|
|
}
|
|
|
|
+EXPORT_SYMBOL(debug_debugfs_init);
|
|
+
|
|
void debug_debugfs_exit(void)
|
|
{
|
|
debugfs_remove_recursive(dbg_buffer.root);
|
|
dbg_buffer.root = NULL;
|
|
}
|
|
+
|
|
+EXPORT_SYMBOL(debug_debugfs_exit);
|