Home
last modified time | relevance | path

Searched hist:e571e843 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/mon/
H A Dmon_bin.ce571e843 Tue Jun 20 04:44:15 CDT 2023 Ivan Orlov <ivan.orlov0322@gmail.com> 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>