WSL2-Linux-Kernel/drivers/usb/mon
Ivan Orlov e571e843f0 USB: mon: make mon_bin_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the mon_bin_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at load time.

Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Link: https://lore.kernel.org/r/20230620094412.508580-9-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-20 16:20:45 +02:00
..
Kconfig
Makefile
mon_bin.c USB: mon: make mon_bin_class a static const structure 2023-06-20 16:20:45 +02:00
mon_main.c
mon_stat.c
mon_text.c
usb_mon.h