Open Tamerz opened 7 years ago
It's an issue in
KernelDir/drivers/usb/sunxi_usb/gadget/f_mass_storage.c:72-75
edit
extern atomic_t vfs_read_flag;
extern atomic_t vfs_write_flag;
extern unsigned int vfs_amount;
extern loff_t vfs_file_offset;
to
atomic_t vfs_read_flag;
atomic_t vfs_write_flag;
unsigned int vfs_amount;
loff_t vfs_file_offset;
tested and it compiles
I am able to build the kernel if I do not make any changes to the configuration. However, as soon as I change:
Device Drivers -> USB Support -> USB Gadget Support ->USB Gadget Drivers
from built in (*
) to a module (M
) and then select theMass Storage Gadget
and build the kernel, I get: