pmaports/device/testing/linux-motorola-ali/fix_symlink_mtp.patch

17 lines
439 B
Diff
Raw Normal View History

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