diff options
author | Ivan Orlov <[email protected]> | 2023-06-20 11:44:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-06-20 16:20:47 +0200 |
commit | 2c10e7a049dad73503da41c7754add91cb7b35d9 (patch) | |
tree | 34d07a11ba48662fb6905921b3536f32502bda8b /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | e571e843f0ce005503471707fa02e892ba2a6f35 (diff) |
USB: gadget: f_printer: make usb_gadget_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the usb_gadget_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 <[email protected]>
Signed-off-by: Ivan Orlov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions