pmaports/device/testing/linux-motorola-ali/fix_symlink_mtp.patch
Julian Braha 606b723450
motorola-ali: new device (Motorola Moto G6) (MR 1071)
[ci:skip-build] already built on CI in MR
2020-04-19 02:17:28 +03:00

16 lines
439 B
Diff

diff --git a/drivers/usb/gadget/function/f_mtp.c b/drivers/usb/gadget/function/f_mtp.c
@@ -40,7 +40,7 @@
#include <linux/configfs.h>
#include <linux/usb/composite.h>
-#include "configfs.h"
+#include "../configfs.h"
#define MTP_RX_BUFFER_INIT_SIZE 1048576
#define MTP_BULK_BUFFER_SIZE 16384
@@ -1924,4 +1924,4 @@
}
DECLARE_USB_FUNCTION_INIT(mtp, mtp_alloc_inst, mtp_alloc);
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL");