pmaports/device/testing/linux-xiaomi-whyred/export-debugfs-debug-funcs.patch
javabird25 790cda59be
xiaomi-whyred: new device (Xiaomi Redmi Note 5 Pro) (!1088)
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
2020-03-23 10:15:48 +01:00

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);